It should be possible to use a token as a literal:
Currently this throws an exception. We need to add a special case for token types in literal, because they don't have codecs in the registry.
The logic to convert a token to a raw CQL string is:
Note that a workaround (and better way to do this really) is to use a bind marker: