SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{00ab265f898eb9529fa72ed5837fed2cfe89749c42d71eb43a43f13be7aa9604}Planegg{00ab265f898eb9529fa72ed5837fed2cfe89749c42d71eb43a43f13be7aa9604}' OR prCity = 'Planegg' OR prZip = 'Planegg' OR prStreet LIKE '{00ab265f898eb9529fa72ed5837fed2cfe89749c42d71eb43a43f13be7aa9604}Planegg{00ab265f898eb9529fa72ed5837fed2cfe89749c42d71eb43a43f13be7aa9604}' OR prCountry = 'Planegg') AND (prLocation LIKE '{00ab265f898eb9529fa72ed5837fed2cfe89749c42d71eb43a43f13be7aa9604}Germany{00ab265f898eb9529fa72ed5837fed2cfe89749c42d71eb43a43f13be7aa9604}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{00ab265f898eb9529fa72ed5837fed2cfe89749c42d71eb43a43f13be7aa9604}Germany{00ab265f898eb9529fa72ed5837fed2cfe89749c42d71eb43a43f13be7aa9604}' OR prCountry = 'Germany')