Creates a new token in the database
The database to use
The token to create
The created token, or undefined if the token already exists
Creates a new token in the database