SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '074fd1aea17cc8716319680d49a1453dfd3f153876d8090b3ab7c36e970821c1' 
  AND token = 'yroLal9z8/X88ThwG1l89QuJTxmuovy1YcIk5JcPPM4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00061

JSON explain

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