SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{50b51752118652a513fd12a41831fe48cd106bf5e7ca79c77c820344569d31f7}Hohenhameln{50b51752118652a513fd12a41831fe48cd106bf5e7ca79c77c820344569d31f7}' OR prCity = 'Hohenhameln' OR prZip = 'Hohenhameln' OR prStreet LIKE '{50b51752118652a513fd12a41831fe48cd106bf5e7ca79c77c820344569d31f7}Hohenhameln{50b51752118652a513fd12a41831fe48cd106bf5e7ca79c77c820344569d31f7}' OR prCountry = 'Hohenhameln') AND (prLocation LIKE '{50b51752118652a513fd12a41831fe48cd106bf5e7ca79c77c820344569d31f7}Germany{50b51752118652a513fd12a41831fe48cd106bf5e7ca79c77c820344569d31f7}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{50b51752118652a513fd12a41831fe48cd106bf5e7ca79c77c820344569d31f7}Germany{50b51752118652a513fd12a41831fe48cd106bf5e7ca79c77c820344569d31f7}' OR prCountry = 'Germany')