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