SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}Hagen{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}' OR prCity = 'Hagen' OR prZip = 'Hagen' OR prStreet LIKE '{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}Hagen{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}' OR prCountry = 'Hagen') AND (prLocation LIKE '{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}/{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}/{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}' OR prCountry = '/') AND (prLocation LIKE '{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}Vorhalle{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}' OR prCity = 'Vorhalle' OR prZip = 'Vorhalle' OR prStreet LIKE '{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}Vorhalle{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}' OR prCountry = 'Vorhalle') AND (prLocation LIKE '{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}Germany{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}Germany{f3035e320ad138f00e856b22987cf001ac9ca5dbe7f62a666c83a435e6622d31}' OR prCountry = 'Germany')