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