Heat the neutral oil in a small saucepan over medium heat. Once warm (but not smoking), add the asafoetida, mustard seeds, and sesame seeds. When the mustard seeds start to pop, add the curry leaves, red onion, and cilantro (if using). Stir quickly, then remove the pan from heat.