fallback to keys if redis doesn't support scan