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