SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f2a2caaf1333ac830ef10c2bed2a8cc20e2cca2e50adff2f68dae20d8defbdb6' 
  AND token = 'v54Ttc5bDbGpVJ5FxGQLOJjEkk0FTLwHZYAJJOmeGvI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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