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