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