SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '866d204031943be403b87b1a71f0ccf3a99d98dce24c10e4581e1d4d0e98037a' 
  AND token = '2caKeyUO5hV8FxyhOqH46eaUq732L0zly/EtgGXmY+o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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