This is a discussion on $10 NLHE 6-max: 3bet pot flop allin within the online poker forums, in the Cash Game Hand Analysis section; Winning Poker, Hold'em No Limit - $0.05/$0.10 - 6 players
Replay this hand on CardsChat - https://www.cardschat.com/replayer/1q1dd7ZY
UTG: $50.05 (501 bb)
MP: $29.96 (300 bb)
CO: $10.00 (100 bb)
I think, the decision on the flop is very close between calling and jamming. If you think, there is any chance, he is check-raising with intention to fold to a jam, then jamming would be my prefered play. And even if he is never folding, you are getting your chips in with enough equity, unless his range is only the super nutted stuff like sets and two pair. And since he had AQ, that was obviously not the case.
But you are not really printing money, and maybe you can make better decisions on later streets by just calling and taking advantage of the fact, you have position on him. Maybe on this particular runout he check the turn and allow you to get to showdown without being all-in. Or he jam the turn, which would be an overbet and allow you to fold. But again its close, and I would definitely not classify this one as a mistake. Just a bit unlucky to lose a "flip". On some sites you can reduce variance by cashing out your equity in situations like this.