SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{e87727dd7cc2d2532f8ad6c83f64da91b15395a08e1a99738780a1c0e4ba8b42}Heppenheim{e87727dd7cc2d2532f8ad6c83f64da91b15395a08e1a99738780a1c0e4ba8b42}' OR prCity = 'Heppenheim' OR prZip = 'Heppenheim' OR prStreet LIKE '{e87727dd7cc2d2532f8ad6c83f64da91b15395a08e1a99738780a1c0e4ba8b42}Heppenheim{e87727dd7cc2d2532f8ad6c83f64da91b15395a08e1a99738780a1c0e4ba8b42}' OR prCountry = 'Heppenheim') AND (prLocation LIKE '{e87727dd7cc2d2532f8ad6c83f64da91b15395a08e1a99738780a1c0e4ba8b42}(Bergstraße){e87727dd7cc2d2532f8ad6c83f64da91b15395a08e1a99738780a1c0e4ba8b42}' OR prCity = '(Bergstraße)' OR prZip = '(Bergstraße)' OR prStreet LIKE '{e87727dd7cc2d2532f8ad6c83f64da91b15395a08e1a99738780a1c0e4ba8b42}(Bergstraße){e87727dd7cc2d2532f8ad6c83f64da91b15395a08e1a99738780a1c0e4ba8b42}' OR prCountry = '(Bergstraße)') AND (prLocation LIKE '{e87727dd7cc2d2532f8ad6c83f64da91b15395a08e1a99738780a1c0e4ba8b42}Germany{e87727dd7cc2d2532f8ad6c83f64da91b15395a08e1a99738780a1c0e4ba8b42}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{e87727dd7cc2d2532f8ad6c83f64da91b15395a08e1a99738780a1c0e4ba8b42}Germany{e87727dd7cc2d2532f8ad6c83f64da91b15395a08e1a99738780a1c0e4ba8b42}' OR prCountry = 'Germany')