See my sibling comment about the "signout from all devices / iat" pattern. This is only a few lines of code.
If you want to be more fancy and fast, you can use bloom filters to check if a token is in a revocation list.