SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{29a3222d41ca3b99c67df62a317fee97a0bbeb9b58f0015dc6d5fbc9c90f5be5}Аспровалта{29a3222d41ca3b99c67df62a317fee97a0bbeb9b58f0015dc6d5fbc9c90f5be5}' OR prCity = 'Аспровалта' OR prZip = 'Аспровалта' OR prStreet LIKE '{29a3222d41ca3b99c67df62a317fee97a0bbeb9b58f0015dc6d5fbc9c90f5be5}Аспровалта{29a3222d41ca3b99c67df62a317fee97a0bbeb9b58f0015dc6d5fbc9c90f5be5}' OR prCountry = 'Аспровалта') AND (prLocation LIKE '{29a3222d41ca3b99c67df62a317fee97a0bbeb9b58f0015dc6d5fbc9c90f5be5}Гърция{29a3222d41ca3b99c67df62a317fee97a0bbeb9b58f0015dc6d5fbc9c90f5be5}' OR prCity = 'Гърция' OR prZip = 'Гърция' OR prStreet LIKE '{29a3222d41ca3b99c67df62a317fee97a0bbeb9b58f0015dc6d5fbc9c90f5be5}Гърция{29a3222d41ca3b99c67df62a317fee97a0bbeb9b58f0015dc6d5fbc9c90f5be5}' OR prCountry = 'Гърция')