SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77160adb30eeefc32895cffd97349751742fdb18c9c7267b3874f90ad59de480' 
  AND token = 'dsso0tQXehl95xOT78sym/tesktTpuLXdsVTe9jFlW0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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