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