Hansen hit Dale Jefferson for a 30-yard pass on fourth and 10 that set up Cornelius Fugett's 13-yard touchdown a play later to pull it to 27-16.
Then in the final 34 seconds of the half, Hansen led a 70-yard drive that included a 48-yard pass to Trevan Smith and finished with an 8-yard touchdown to Cameron Westbrook on the final play of the half.
Santa Fe continued the onslaught with a 23-point third quarter that included a 37-yard interception return by Eric Davis, and Hansen and Westbrook touchdown runs.
Hansen finished with 287 yards and three touchdowns passing and a pair of rushing touchdowns.
“We got a spark there off of a couple of quick hits, and that really got things turned around,” Santa Fe coach Lance Manning said. “You never go in expecting to score 50 on a team like Midwest City but we certainly think our offense is capable of doing big things.”
Midwest City's offense did plenty themselves, as Johnson ran for 212 yards, 3 touchdowns and a two-point conversion.