SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '740aeef14de57abea0e56fadf55a718ff2b14c08eda08c928b8de8068d2c7407' 
  AND token = 'ia3DWD8tBlncSMZqIVAfkxjzmEimpYDhxuj2V123dtk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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