SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{de85404fa3db5f4b75d566ee6077ab9976e9abd7dd77f576bf8c969d20671b11}Barcs{de85404fa3db5f4b75d566ee6077ab9976e9abd7dd77f576bf8c969d20671b11}' OR prCity = 'Barcs' OR prZip = 'Barcs' OR prStreet LIKE '{de85404fa3db5f4b75d566ee6077ab9976e9abd7dd77f576bf8c969d20671b11}Barcs{de85404fa3db5f4b75d566ee6077ab9976e9abd7dd77f576bf8c969d20671b11}' OR prCountry = 'Barcs') AND (prLocation LIKE '{de85404fa3db5f4b75d566ee6077ab9976e9abd7dd77f576bf8c969d20671b11}Ungarn{de85404fa3db5f4b75d566ee6077ab9976e9abd7dd77f576bf8c969d20671b11}' OR prCity = 'Ungarn' OR prZip = 'Ungarn' OR prStreet LIKE '{de85404fa3db5f4b75d566ee6077ab9976e9abd7dd77f576bf8c969d20671b11}Ungarn{de85404fa3db5f4b75d566ee6077ab9976e9abd7dd77f576bf8c969d20671b11}' OR prCountry = 'Ungarn')