SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8eaff3655398f0571fd80974852320e7b591df1ad53362d79c39c1dfee30e7ad' 
  AND token = '78DCTRhbOxmM3IFeMWtRdQagsY5Lv2kjaZmJVrdSUHU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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