MLHR-721: Migration of lookup cache backed api to new database framework