SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{29960c82c7313440c07d6e6f41eb30f8cf6fb4c2ca209ce9fcea2478f4729d00}Heusweiler{29960c82c7313440c07d6e6f41eb30f8cf6fb4c2ca209ce9fcea2478f4729d00}' OR prCity = 'Heusweiler' OR prZip = 'Heusweiler' OR prStreet LIKE '{29960c82c7313440c07d6e6f41eb30f8cf6fb4c2ca209ce9fcea2478f4729d00}Heusweiler{29960c82c7313440c07d6e6f41eb30f8cf6fb4c2ca209ce9fcea2478f4729d00}' OR prCountry = 'Heusweiler') AND (prLocation LIKE '{29960c82c7313440c07d6e6f41eb30f8cf6fb4c2ca209ce9fcea2478f4729d00}Germany{29960c82c7313440c07d6e6f41eb30f8cf6fb4c2ca209ce9fcea2478f4729d00}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{29960c82c7313440c07d6e6f41eb30f8cf6fb4c2ca209ce9fcea2478f4729d00}Germany{29960c82c7313440c07d6e6f41eb30f8cf6fb4c2ca209ce9fcea2478f4729d00}' OR prCountry = 'Germany')