SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39d715446b5e866b4d9fbddaf50915d5237fe314af4827ad0ff99f44ba237ae7' 
  AND token = 'eSJLrjTVNzxSXQ87zFOh/DQQ0Syvm1viISMRxt594RE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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