SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{461f3096da22ea76529995d60a84c13b812123e7dd814a74212c910c8d580eb8}Bad{461f3096da22ea76529995d60a84c13b812123e7dd814a74212c910c8d580eb8}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{461f3096da22ea76529995d60a84c13b812123e7dd814a74212c910c8d580eb8}Bad{461f3096da22ea76529995d60a84c13b812123e7dd814a74212c910c8d580eb8}' OR prCountry = 'Bad') AND (prLocation LIKE '{461f3096da22ea76529995d60a84c13b812123e7dd814a74212c910c8d580eb8}Nauheim{461f3096da22ea76529995d60a84c13b812123e7dd814a74212c910c8d580eb8}' OR prCity = 'Nauheim' OR prZip = 'Nauheim' OR prStreet LIKE '{461f3096da22ea76529995d60a84c13b812123e7dd814a74212c910c8d580eb8}Nauheim{461f3096da22ea76529995d60a84c13b812123e7dd814a74212c910c8d580eb8}' OR prCountry = 'Nauheim') AND (prLocation LIKE '{461f3096da22ea76529995d60a84c13b812123e7dd814a74212c910c8d580eb8}Germany{461f3096da22ea76529995d60a84c13b812123e7dd814a74212c910c8d580eb8}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{461f3096da22ea76529995d60a84c13b812123e7dd814a74212c910c8d580eb8}Germany{461f3096da22ea76529995d60a84c13b812123e7dd814a74212c910c8d580eb8}' OR prCountry = 'Germany')