key_commit: Sped up the collateral amount sql object to speed up the bookkeepers dashboard