Gets a token by user ID and type
The database to use
The user ID to get
The type of the token to get
The token, or undefined if it doesn't exist
Gets a token by user ID and type