SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}Aachen{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}' OR prCity = 'Aachen' OR prZip = 'Aachen' OR prStreet LIKE '{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}Aachen{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}' OR prCountry = 'Aachen') AND (prLocation LIKE '{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}/{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}/{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}' OR prCountry = '/') AND (prLocation LIKE '{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}Brand{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}' OR prCity = 'Brand' OR prZip = 'Brand' OR prStreet LIKE '{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}Brand{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}' OR prCountry = 'Brand') AND (prLocation LIKE '{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}Germany{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}Germany{2fe5d31c302190c2f9c118a8cc4148d9c7047fd992de5ef4b2842295f5c38b00}' OR prCountry = 'Germany')