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