SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{2ec11619d10c377b880a3d056e16fd518d252d571f37c74dbee913a34d4022f6}Sarstedt{2ec11619d10c377b880a3d056e16fd518d252d571f37c74dbee913a34d4022f6}' OR prCity = 'Sarstedt' OR prZip = 'Sarstedt' OR prStreet LIKE '{2ec11619d10c377b880a3d056e16fd518d252d571f37c74dbee913a34d4022f6}Sarstedt{2ec11619d10c377b880a3d056e16fd518d252d571f37c74dbee913a34d4022f6}' OR prCountry = 'Sarstedt') AND (prLocation LIKE '{2ec11619d10c377b880a3d056e16fd518d252d571f37c74dbee913a34d4022f6}Germany{2ec11619d10c377b880a3d056e16fd518d252d571f37c74dbee913a34d4022f6}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{2ec11619d10c377b880a3d056e16fd518d252d571f37c74dbee913a34d4022f6}Germany{2ec11619d10c377b880a3d056e16fd518d252d571f37c74dbee913a34d4022f6}' OR prCountry = 'Germany')