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

Query time 0.00015

JSON explain

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