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

Query time 0.00018

JSON explain

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