SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3f4e538db0b395c55a0d8baba6544f6513bb8bbe2c717c9dfa435cdb1e4726a0}Lingen{3f4e538db0b395c55a0d8baba6544f6513bb8bbe2c717c9dfa435cdb1e4726a0}' OR prCity = 'Lingen' OR prZip = 'Lingen' OR prStreet LIKE '{3f4e538db0b395c55a0d8baba6544f6513bb8bbe2c717c9dfa435cdb1e4726a0}Lingen{3f4e538db0b395c55a0d8baba6544f6513bb8bbe2c717c9dfa435cdb1e4726a0}' OR prCountry = 'Lingen') AND (prLocation LIKE '{3f4e538db0b395c55a0d8baba6544f6513bb8bbe2c717c9dfa435cdb1e4726a0}(Ems){3f4e538db0b395c55a0d8baba6544f6513bb8bbe2c717c9dfa435cdb1e4726a0}' OR prCity = '(Ems)' OR prZip = '(Ems)' OR prStreet LIKE '{3f4e538db0b395c55a0d8baba6544f6513bb8bbe2c717c9dfa435cdb1e4726a0}(Ems){3f4e538db0b395c55a0d8baba6544f6513bb8bbe2c717c9dfa435cdb1e4726a0}' OR prCountry = '(Ems)') AND (prLocation LIKE '{3f4e538db0b395c55a0d8baba6544f6513bb8bbe2c717c9dfa435cdb1e4726a0}Germany{3f4e538db0b395c55a0d8baba6544f6513bb8bbe2c717c9dfa435cdb1e4726a0}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{3f4e538db0b395c55a0d8baba6544f6513bb8bbe2c717c9dfa435cdb1e4726a0}Germany{3f4e538db0b395c55a0d8baba6544f6513bb8bbe2c717c9dfa435cdb1e4726a0}' OR prCountry = 'Germany')