SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{460322b4866fbd9f69b5a51ce8bef6ac4e1b4ff451a0dea47f295dc01f96aa06}Wilsdruff{460322b4866fbd9f69b5a51ce8bef6ac4e1b4ff451a0dea47f295dc01f96aa06}' OR prCity = 'Wilsdruff' OR prZip = 'Wilsdruff' OR prStreet LIKE '{460322b4866fbd9f69b5a51ce8bef6ac4e1b4ff451a0dea47f295dc01f96aa06}Wilsdruff{460322b4866fbd9f69b5a51ce8bef6ac4e1b4ff451a0dea47f295dc01f96aa06}' OR prCountry = 'Wilsdruff') AND (prLocation LIKE '{460322b4866fbd9f69b5a51ce8bef6ac4e1b4ff451a0dea47f295dc01f96aa06}Germany{460322b4866fbd9f69b5a51ce8bef6ac4e1b4ff451a0dea47f295dc01f96aa06}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{460322b4866fbd9f69b5a51ce8bef6ac4e1b4ff451a0dea47f295dc01f96aa06}Germany{460322b4866fbd9f69b5a51ce8bef6ac4e1b4ff451a0dea47f295dc01f96aa06}' OR prCountry = 'Germany')