SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1721ee78eb49d28460ec01034031d71138cda6d110ee9b96d16eddaf8f4ca1d5}Pireas{1721ee78eb49d28460ec01034031d71138cda6d110ee9b96d16eddaf8f4ca1d5}' OR prCity = 'Pireas' OR prZip = 'Pireas' OR prStreet LIKE '{1721ee78eb49d28460ec01034031d71138cda6d110ee9b96d16eddaf8f4ca1d5}Pireas{1721ee78eb49d28460ec01034031d71138cda6d110ee9b96d16eddaf8f4ca1d5}' OR prCountry = 'Pireas') AND (prLocation LIKE '{1721ee78eb49d28460ec01034031d71138cda6d110ee9b96d16eddaf8f4ca1d5}Griechenland{1721ee78eb49d28460ec01034031d71138cda6d110ee9b96d16eddaf8f4ca1d5}' OR prCity = 'Griechenland' OR prZip = 'Griechenland' OR prStreet LIKE '{1721ee78eb49d28460ec01034031d71138cda6d110ee9b96d16eddaf8f4ca1d5}Griechenland{1721ee78eb49d28460ec01034031d71138cda6d110ee9b96d16eddaf8f4ca1d5}' OR prCountry = 'Griechenland')