Add index for stats table

[#72937628]