SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5fb6789d4c22ea0b24271930e7ee062d467b713e7c0d8a4e83a6b4f9c8c4a7b' 
  AND token = 'BXVsDgZJ/03Rlgej/gN46548yRUU/+PkiSSgZuzJjKE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}