SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a80ca7f81244851ddd1d05e957ac9a732479ce93fc521f556692c457e291808' 
  AND token = 'hgvc8POtzYsPJsZktBrN7tGHPT7CTTwMs8B/FMyebl4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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