The magma egg appears in the volcanic biome.
Keep refreshing that biome when you are hunting for one, since eggs rotate through in limited numbers and the popular ones vanish quickly.