In a large mixing bowl, combine the buttermilk, salt, black pepper, garlic powder, paprika, and cayenne pepper (if using). Add the chicken pieces, ensuring they are fully submerged in the buttermilk mixture. Cover and refrigerate for at least 4 hours, or overnight for best results.
Preheat your oven to 400°F (200°C). Line a baking sheet with parchment paper or aluminum foil. If using a wire rack, place it on top of the baking sheet and lightly grease it with cooking spray or oil.
In a shallow dish, combine the flour, cornmeal, and baking powder. Mix well.
Remove the chicken from the buttermilk marinade, allowing any excess buttermilk to drip off. Dredge each piece of chicken in the flour mixture, pressing lightly to adhere the coating. Shake off any excess flour.
Place the breaded chicken pieces on the prepared baking sheet or wire rack. Ensure they are spaced apart to allow for even cooking. Lightly spray the top of the chicken with cooking spray or brush with a little oil to help it crisp up in the oven.
Bake in the preheated oven for 35-45 minutes, or until the chicken is golden brown and cooked through (internal temperature should reach 165°F or 74°C). If using a wire rack, the chicken will be crispier all around.
Remove the chicken from the oven and let it rest for a few minutes before serving. Enjoy your crispy, oven-fried chicken with your favorite sides.