Near-Optimal Sample Complexity Bounds for Constrained Average-Reward MDPs