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