When a replica tries to lock a token, it might try to lock a token that it has already locked. Instead of trying to insert optimistically in the DB and getting an error, it could first make a local check.
In other words, if a replica knows that a know is locked, there is no need to go to the DB.