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