SELECT [Id], [WorkspaceId], [Email], [RoleIds], [Token], [CreatedAt], [Accepted]
FROM [dbo].[WorkspaceInvites]
WHERE [WorkspaceId] = @WorkspaceId
  AND [Accepted] = 0
  AND [CreatedAt]
    > @Cutoff
ORDER BY [CreatedAt] DESC;
