SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{05946a92ea7cd36b225ed52fc6776b124b78a172fd55e637679d46da103b8a38}Berg{05946a92ea7cd36b225ed52fc6776b124b78a172fd55e637679d46da103b8a38}' OR prCity = 'Berg' OR prZip = 'Berg' OR prStreet LIKE '{05946a92ea7cd36b225ed52fc6776b124b78a172fd55e637679d46da103b8a38}Berg{05946a92ea7cd36b225ed52fc6776b124b78a172fd55e637679d46da103b8a38}' OR prCountry = 'Berg') AND (prLocation LIKE '{05946a92ea7cd36b225ed52fc6776b124b78a172fd55e637679d46da103b8a38}(Pfalz){05946a92ea7cd36b225ed52fc6776b124b78a172fd55e637679d46da103b8a38}' OR prCity = '(Pfalz)' OR prZip = '(Pfalz)' OR prStreet LIKE '{05946a92ea7cd36b225ed52fc6776b124b78a172fd55e637679d46da103b8a38}(Pfalz){05946a92ea7cd36b225ed52fc6776b124b78a172fd55e637679d46da103b8a38}' OR prCountry = '(Pfalz)') AND (prLocation LIKE '{05946a92ea7cd36b225ed52fc6776b124b78a172fd55e637679d46da103b8a38}Germany{05946a92ea7cd36b225ed52fc6776b124b78a172fd55e637679d46da103b8a38}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{05946a92ea7cd36b225ed52fc6776b124b78a172fd55e637679d46da103b8a38}Germany{05946a92ea7cd36b225ed52fc6776b124b78a172fd55e637679d46da103b8a38}' OR prCountry = 'Germany')