SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{9b9a063d81ba673e294f36e2240aa73f0e473982a19520ed191da0400d39a3b2}Lingen{9b9a063d81ba673e294f36e2240aa73f0e473982a19520ed191da0400d39a3b2}' OR prCity = 'Lingen' OR prZip = 'Lingen' OR prStreet LIKE '{9b9a063d81ba673e294f36e2240aa73f0e473982a19520ed191da0400d39a3b2}Lingen{9b9a063d81ba673e294f36e2240aa73f0e473982a19520ed191da0400d39a3b2}' OR prCountry = 'Lingen') AND (prLocation LIKE '{9b9a063d81ba673e294f36e2240aa73f0e473982a19520ed191da0400d39a3b2}(Ems){9b9a063d81ba673e294f36e2240aa73f0e473982a19520ed191da0400d39a3b2}' OR prCity = '(Ems)' OR prZip = '(Ems)' OR prStreet LIKE '{9b9a063d81ba673e294f36e2240aa73f0e473982a19520ed191da0400d39a3b2}(Ems){9b9a063d81ba673e294f36e2240aa73f0e473982a19520ed191da0400d39a3b2}' OR prCountry = '(Ems)') AND (prLocation LIKE '{9b9a063d81ba673e294f36e2240aa73f0e473982a19520ed191da0400d39a3b2}Germany{9b9a063d81ba673e294f36e2240aa73f0e473982a19520ed191da0400d39a3b2}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{9b9a063d81ba673e294f36e2240aa73f0e473982a19520ed191da0400d39a3b2}Germany{9b9a063d81ba673e294f36e2240aa73f0e473982a19520ed191da0400d39a3b2}' OR prCountry = 'Germany')