In a large bowl, combine the yogurt, salt, pepper, and cayenne.
Add the chicken to the yogurt mixture and let stand on the counter for 1 hour or in the fridge for up to 4 hours.
In a large bowl, whisk together the flour, onion salt, garlic powder, cayenne, and ground pepper. Whisk in the beer until smooth and thoroughly combined.
Heat the vegetable oil in a large and deep pot or skillet to a temperature of 350˚F to 375˚F. You should also have enough oil to cover the chicken halfway up.
Cover a serving plate with paper towels and set aside.
Remove the chicken pieces out of the yogurt mixture and pat them dry with paper towels. If refrigerated, pull out the bowl with the chicken about 20 to 30 minutes before you are ready to cook the chicken. Place the chicken in the beer batter and coat it all around; drain off any excess and carefully add the chicken to the hot oil.
Fry the chicken in batches, turning once, until golden; about 20 minutes.
Place the fried chicken on the paper towel-covered serving plate; let stand for 7 to 10 minutes before serving.