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