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