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