Revert "[417502] Perf issue with H2Cache.selectFileByContainerIdAndPath()"

This reverts commit a722626d6e97b64c9096df8e7268fd16cb7e356d.