SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{74ba06e5c1f36f3ef1695d6c22a92c145c09338d3fc33fdeedb0191e34e1a3fb}Aschheim{74ba06e5c1f36f3ef1695d6c22a92c145c09338d3fc33fdeedb0191e34e1a3fb}' OR prCity = 'Aschheim' OR prZip = 'Aschheim' OR prStreet LIKE '{74ba06e5c1f36f3ef1695d6c22a92c145c09338d3fc33fdeedb0191e34e1a3fb}Aschheim{74ba06e5c1f36f3ef1695d6c22a92c145c09338d3fc33fdeedb0191e34e1a3fb}' OR prCountry = 'Aschheim') AND (prLocation LIKE '{74ba06e5c1f36f3ef1695d6c22a92c145c09338d3fc33fdeedb0191e34e1a3fb}Germany{74ba06e5c1f36f3ef1695d6c22a92c145c09338d3fc33fdeedb0191e34e1a3fb}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{74ba06e5c1f36f3ef1695d6c22a92c145c09338d3fc33fdeedb0191e34e1a3fb}Germany{74ba06e5c1f36f3ef1695d6c22a92c145c09338d3fc33fdeedb0191e34e1a3fb}' OR prCountry = 'Germany')