SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{6acc336ec9e3dded0adbc23418f0da7ea32c1675d2e39515c02cb6b6d8d22045}Bad{6acc336ec9e3dded0adbc23418f0da7ea32c1675d2e39515c02cb6b6d8d22045}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{6acc336ec9e3dded0adbc23418f0da7ea32c1675d2e39515c02cb6b6d8d22045}Bad{6acc336ec9e3dded0adbc23418f0da7ea32c1675d2e39515c02cb6b6d8d22045}' OR prCountry = 'Bad') AND (prLocation LIKE '{6acc336ec9e3dded0adbc23418f0da7ea32c1675d2e39515c02cb6b6d8d22045}Godesberg{6acc336ec9e3dded0adbc23418f0da7ea32c1675d2e39515c02cb6b6d8d22045}' OR prCity = 'Godesberg' OR prZip = 'Godesberg' OR prStreet LIKE '{6acc336ec9e3dded0adbc23418f0da7ea32c1675d2e39515c02cb6b6d8d22045}Godesberg{6acc336ec9e3dded0adbc23418f0da7ea32c1675d2e39515c02cb6b6d8d22045}' OR prCountry = 'Godesberg') AND (prLocation LIKE '{6acc336ec9e3dded0adbc23418f0da7ea32c1675d2e39515c02cb6b6d8d22045}Germany{6acc336ec9e3dded0adbc23418f0da7ea32c1675d2e39515c02cb6b6d8d22045}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{6acc336ec9e3dded0adbc23418f0da7ea32c1675d2e39515c02cb6b6d8d22045}Germany{6acc336ec9e3dded0adbc23418f0da7ea32c1675d2e39515c02cb6b6d8d22045}' OR prCountry = 'Germany')