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