KE = 1/2 mv^2
So in the case where they have the same energy, the golf ball has less mass, so greater velocity to make up for less mass.
If they are moving at the same velocity, the only variable that differs is mass. The ball with more mass has more KE.