SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}Bad{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}Bad{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}' OR prCountry = 'Bad') AND (prLocation LIKE '{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}Oeynhausen{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}' OR prCity = 'Oeynhausen' OR prZip = 'Oeynhausen' OR prStreet LIKE '{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}Oeynhausen{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}' OR prCountry = 'Oeynhausen') AND (prLocation LIKE '{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}/{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}/{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}' OR prCountry = '/') AND (prLocation LIKE '{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}Dehme{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}' OR prCity = 'Dehme' OR prZip = 'Dehme' OR prStreet LIKE '{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}Dehme{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}' OR prCountry = 'Dehme') AND (prLocation LIKE '{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}Germany{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}Germany{0f2448f5e4bc11c058097f69285cb7fb476157e744b44b4f64c314c90138376b}' OR prCountry = 'Germany')