SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{194d29f5c254acd7904c6e57105b28d2a376f4b51fd5caaeb37bcfb73462576c}Faro{194d29f5c254acd7904c6e57105b28d2a376f4b51fd5caaeb37bcfb73462576c}' OR prCity = 'Faro' OR prZip = 'Faro' OR prStreet LIKE '{194d29f5c254acd7904c6e57105b28d2a376f4b51fd5caaeb37bcfb73462576c}Faro{194d29f5c254acd7904c6e57105b28d2a376f4b51fd5caaeb37bcfb73462576c}' OR prCountry = 'Faro') AND (prLocation LIKE '{194d29f5c254acd7904c6e57105b28d2a376f4b51fd5caaeb37bcfb73462576c}Portogallo{194d29f5c254acd7904c6e57105b28d2a376f4b51fd5caaeb37bcfb73462576c}' OR prCity = 'Portogallo' OR prZip = 'Portogallo' OR prStreet LIKE '{194d29f5c254acd7904c6e57105b28d2a376f4b51fd5caaeb37bcfb73462576c}Portogallo{194d29f5c254acd7904c6e57105b28d2a376f4b51fd5caaeb37bcfb73462576c}' OR prCountry = 'Portogallo')