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