SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{f1aa03599d78dcec26d6870a2544823b0ec952ccf6c933fb79309bde6ae87377}Tarifa{f1aa03599d78dcec26d6870a2544823b0ec952ccf6c933fb79309bde6ae87377}' OR prCity = 'Tarifa' OR prZip = 'Tarifa' OR prStreet LIKE '{f1aa03599d78dcec26d6870a2544823b0ec952ccf6c933fb79309bde6ae87377}Tarifa{f1aa03599d78dcec26d6870a2544823b0ec952ccf6c933fb79309bde6ae87377}' OR prCountry = 'Tarifa') AND (prLocation LIKE '{f1aa03599d78dcec26d6870a2544823b0ec952ccf6c933fb79309bde6ae87377}Spanien{f1aa03599d78dcec26d6870a2544823b0ec952ccf6c933fb79309bde6ae87377}' OR prCity = 'Spanien' OR prZip = 'Spanien' OR prStreet LIKE '{f1aa03599d78dcec26d6870a2544823b0ec952ccf6c933fb79309bde6ae87377}Spanien{f1aa03599d78dcec26d6870a2544823b0ec952ccf6c933fb79309bde6ae87377}' OR prCountry = 'Spanien')