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