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