This line takes a good amount of time.

$latestSnapshot = $miiCardClaimsService->getIdentitySnapshot($snapshotId)->getData();