fix: improve performance when retrieving ForkMessageContextDb objects from the database

Closes FLEXISIP-446

Merge request reports