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