Optimal Conformal Prediction under Epistemic Uncertainty