Gets a token by token
The database to use
The token to get
The token, or undefined if it doesn't exist
Gets a token by token