Two tons of flower? What else can your mages and/or army grind into dust? If you can grind things fine enough, almost anything is explosive, even aluminum and wood. Do note that sawdust should be readily available, and probably a bit cheaper than flour.
Here's some data on various explosive dusts.
And
here's 4 kilograms of flour exploding.