SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{b1c6810480c3dff009016cee65c4c421aa19f8e1fdc34847562e34498fd7e76a}Bad{b1c6810480c3dff009016cee65c4c421aa19f8e1fdc34847562e34498fd7e76a}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{b1c6810480c3dff009016cee65c4c421aa19f8e1fdc34847562e34498fd7e76a}Bad{b1c6810480c3dff009016cee65c4c421aa19f8e1fdc34847562e34498fd7e76a}' OR prCountry = 'Bad') AND (prLocation LIKE '{b1c6810480c3dff009016cee65c4c421aa19f8e1fdc34847562e34498fd7e76a}Bertrich{b1c6810480c3dff009016cee65c4c421aa19f8e1fdc34847562e34498fd7e76a}' OR prCity = 'Bertrich' OR prZip = 'Bertrich' OR prStreet LIKE '{b1c6810480c3dff009016cee65c4c421aa19f8e1fdc34847562e34498fd7e76a}Bertrich{b1c6810480c3dff009016cee65c4c421aa19f8e1fdc34847562e34498fd7e76a}' OR prCountry = 'Bertrich') AND (prLocation LIKE '{b1c6810480c3dff009016cee65c4c421aa19f8e1fdc34847562e34498fd7e76a}Germany{b1c6810480c3dff009016cee65c4c421aa19f8e1fdc34847562e34498fd7e76a}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{b1c6810480c3dff009016cee65c4c421aa19f8e1fdc34847562e34498fd7e76a}Germany{b1c6810480c3dff009016cee65c4c421aa19f8e1fdc34847562e34498fd7e76a}' OR prCountry = 'Germany')