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