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