That was my point. You can easily add validation checks to JWT. Just invalidate tokens issued before a certain time.
If you stick to OAuth and OIDC you have the option to validate the tokens against the userinfo and introspect endpoints, but that's, just another "database"