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