SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{10a0030aa10ec56704e42f12cfb5c81be55c04cb17f807b21e9040ff1f0cdb17}Staufenberg{10a0030aa10ec56704e42f12cfb5c81be55c04cb17f807b21e9040ff1f0cdb17}' OR prCity = 'Staufenberg' OR prZip = 'Staufenberg' OR prStreet LIKE '{10a0030aa10ec56704e42f12cfb5c81be55c04cb17f807b21e9040ff1f0cdb17}Staufenberg{10a0030aa10ec56704e42f12cfb5c81be55c04cb17f807b21e9040ff1f0cdb17}' OR prCountry = 'Staufenberg') AND (prLocation LIKE '{10a0030aa10ec56704e42f12cfb5c81be55c04cb17f807b21e9040ff1f0cdb17}Germany{10a0030aa10ec56704e42f12cfb5c81be55c04cb17f807b21e9040ff1f0cdb17}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{10a0030aa10ec56704e42f12cfb5c81be55c04cb17f807b21e9040ff1f0cdb17}Germany{10a0030aa10ec56704e42f12cfb5c81be55c04cb17f807b21e9040ff1f0cdb17}' OR prCountry = 'Germany')