SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d12aeb6929658ba1e504e4c863ee733d1b721011d34f46c3c0324264f0c9b33f}Felanitx{d12aeb6929658ba1e504e4c863ee733d1b721011d34f46c3c0324264f0c9b33f}' OR prCity = 'Felanitx' OR prZip = 'Felanitx' OR prStreet LIKE '{d12aeb6929658ba1e504e4c863ee733d1b721011d34f46c3c0324264f0c9b33f}Felanitx{d12aeb6929658ba1e504e4c863ee733d1b721011d34f46c3c0324264f0c9b33f}' OR prCountry = 'Felanitx') AND (prLocation LIKE '{d12aeb6929658ba1e504e4c863ee733d1b721011d34f46c3c0324264f0c9b33f}Spain{d12aeb6929658ba1e504e4c863ee733d1b721011d34f46c3c0324264f0c9b33f}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{d12aeb6929658ba1e504e4c863ee733d1b721011d34f46c3c0324264f0c9b33f}Spain{d12aeb6929658ba1e504e4c863ee733d1b721011d34f46c3c0324264f0c9b33f}' OR prCountry = 'Spain')