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