SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0c4c8b72d30d7975e8a293edf4f8e8495e0c75f84149866558a213dd85e0d6d4}Bad{0c4c8b72d30d7975e8a293edf4f8e8495e0c75f84149866558a213dd85e0d6d4}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{0c4c8b72d30d7975e8a293edf4f8e8495e0c75f84149866558a213dd85e0d6d4}Bad{0c4c8b72d30d7975e8a293edf4f8e8495e0c75f84149866558a213dd85e0d6d4}' OR prCountry = 'Bad') AND (prLocation LIKE '{0c4c8b72d30d7975e8a293edf4f8e8495e0c75f84149866558a213dd85e0d6d4}Godesberg{0c4c8b72d30d7975e8a293edf4f8e8495e0c75f84149866558a213dd85e0d6d4}' OR prCity = 'Godesberg' OR prZip = 'Godesberg' OR prStreet LIKE '{0c4c8b72d30d7975e8a293edf4f8e8495e0c75f84149866558a213dd85e0d6d4}Godesberg{0c4c8b72d30d7975e8a293edf4f8e8495e0c75f84149866558a213dd85e0d6d4}' OR prCountry = 'Godesberg') AND (prLocation LIKE '{0c4c8b72d30d7975e8a293edf4f8e8495e0c75f84149866558a213dd85e0d6d4}Germany{0c4c8b72d30d7975e8a293edf4f8e8495e0c75f84149866558a213dd85e0d6d4}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{0c4c8b72d30d7975e8a293edf4f8e8495e0c75f84149866558a213dd85e0d6d4}Germany{0c4c8b72d30d7975e8a293edf4f8e8495e0c75f84149866558a213dd85e0d6d4}' OR prCountry = 'Germany')