Mr Verma was taken to the district hospital where he was declared dead. After the incident, hundreds of people went to the hospital and raised slogans against the police and the district administration.
This is the sixth major incident in Uttar Pradesh since last month.
"We cannot say how much was looted but yes, the incident took place and he was shot dead was two unknown people," said police officer Rajesh S.
Mainpuri is the home turf of Samajwadi Party founder Mulayam Singh Yadav, whose son Akhilesh Yadav was Chief Minister before the party was defeated by the BJP in the UP polls earlier this year.
A 36-year-old businessman was shot dead in front of the police headquarters in Allahabad days ago.
Yogi Adityanath, admitting that there has been a spike in such incidents across the state, says his government has inherited a state of 'jungle raj' from its predecessor Samajwadi Party.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.