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

Query time 0.00041

JSON explain

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