Preheat the oven to 400 degrees F. In a large bowl, whisk together the cornmeal, flour, baking powder, sugar, and salt. In a medium bowl, whisk together the milk and egg. Pour the milk mixture into the cornmeal mixture and, using a rubber spatula, lightly mix until a thick batter is formed. Stir in the melted butter until just incorporated. Heat the cast-iron mold in the oven until hot. Carefully remove the pan from the oven and brush cornstick slots with butter. Spoon the batter evenly into the slots. Bake until lightly browned and a toothpick inserted in the center of a cornstick comes out clean, about 25 minutes. Let cool slightly. Using a small knife, pop each cornstick from its slot and serve warm.