SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '789c35519ba4094e1a920df240d743a48e2a258338a839b88eb490deaeaa2901' 
  AND token = 'p5b9N2D0K39BXeVKG4VL6PtsFwQtSqYAoiItWedyomc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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