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