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