SELECT
    [Id],
    [WorkspaceId],
    [SubjectId],
    [Name],
    [TokenHash],
    [RoleIdsJson],
    [CreatedAt],
    [CreatedBy],
    [ExpiresAt],
    [LastUsedAt],
    [RevokedAt],
    [RevokedBy]
FROM [dbo].[WorkspaceAccessTokens]
WHERE [Id] = @Id;
