SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1d6589ac76f88c3867e224b9257b72540aaa97918501eb06dfb9e6f6bf72b4f0}Bernhardsthal{1d6589ac76f88c3867e224b9257b72540aaa97918501eb06dfb9e6f6bf72b4f0}' OR prCity = 'Bernhardsthal' OR prZip = 'Bernhardsthal' OR prStreet LIKE '{1d6589ac76f88c3867e224b9257b72540aaa97918501eb06dfb9e6f6bf72b4f0}Bernhardsthal{1d6589ac76f88c3867e224b9257b72540aaa97918501eb06dfb9e6f6bf72b4f0}' OR prCountry = 'Bernhardsthal') AND (prLocation LIKE '{1d6589ac76f88c3867e224b9257b72540aaa97918501eb06dfb9e6f6bf72b4f0}Austria{1d6589ac76f88c3867e224b9257b72540aaa97918501eb06dfb9e6f6bf72b4f0}' OR prCity = 'Austria' OR prZip = 'Austria' OR prStreet LIKE '{1d6589ac76f88c3867e224b9257b72540aaa97918501eb06dfb9e6f6bf72b4f0}Austria{1d6589ac76f88c3867e224b9257b72540aaa97918501eb06dfb9e6f6bf72b4f0}' OR prCountry = 'Austria')