Heat oil in a wok-style pan with turmeric, garlic powder, cumin, coriander, paprika, chili flakes, and cayenne pepper. Add the green onions and the green peppers; saute 1 to 2 minutes over medium-high heat.
Add corn and tomatoes and saute until tomatoes release their juices. Add ketchup and stir until mixed.
Add rice and stir until heated thoroughly. Salt to taste.