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