perf(metastore): scan block bounds before decoding (#5407)