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