SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{83af65165873439803c7ea8117a07034ff877b177025673de6c582278c0e37d3}Gyenesdiás{83af65165873439803c7ea8117a07034ff877b177025673de6c582278c0e37d3}' OR prCity = 'Gyenesdiás' OR prZip = 'Gyenesdiás' OR prStreet LIKE '{83af65165873439803c7ea8117a07034ff877b177025673de6c582278c0e37d3}Gyenesdiás{83af65165873439803c7ea8117a07034ff877b177025673de6c582278c0e37d3}' OR prCountry = 'Gyenesdiás') AND (prLocation LIKE '{83af65165873439803c7ea8117a07034ff877b177025673de6c582278c0e37d3}Hungary{83af65165873439803c7ea8117a07034ff877b177025673de6c582278c0e37d3}' OR prCity = 'Hungary' OR prZip = 'Hungary' OR prStreet LIKE '{83af65165873439803c7ea8117a07034ff877b177025673de6c582278c0e37d3}Hungary{83af65165873439803c7ea8117a07034ff877b177025673de6c582278c0e37d3}' OR prCountry = 'Hungary')