SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}Breitbrunn{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}' OR prCity = 'Breitbrunn' OR prZip = 'Breitbrunn' OR prStreet LIKE '{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}Breitbrunn{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}' OR prCountry = 'Breitbrunn') AND (prLocation LIKE '{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}am{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}' OR prCity = 'am' OR prZip = 'am' OR prStreet LIKE '{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}am{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}' OR prCountry = 'am') AND (prLocation LIKE '{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}Chiemsee{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}' OR prCity = 'Chiemsee' OR prZip = 'Chiemsee' OR prStreet LIKE '{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}Chiemsee{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}' OR prCountry = 'Chiemsee') AND (prLocation LIKE '{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}Germany{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}Germany{87ee2ad8c104c5fb55473875a9c684f8bdf9bddf11a6d439d0e12ee067bf9f1c}' OR prCountry = 'Germany')