What happen if the user logs out and another user logs in as the token is gonna be the same, so it can be a source of errors?
Handle the logout properly.
As the token can expires or not be relevant anymore (the user has changed device or has deleted the app), how can I know which tokens to keep in my database?
You can check it from your server side.