That 10x figure doesn't sound right to me. Between the Taliban and government forces, Wikipedia says there were over 130,000 killed. Have over a million Mexicans died in the drug war?
Otherwise, (as I assume) you are comparing foreigners killed in Afghanistan to Mexicans killed in Mexico, which doesn't seem like a fair comparison.