Don't calculate your equity on the turn when the money goes in preflop. That's an exercise in futility which will only frustrate you. Calculate preflop equity because that's what matters. It sounds like you lost a flip and a 70-30. It sucks, but these are not bad beats.

If he shoves any pocket pair, ace, king queen and suited jack and ten (60% of all possible hands), and you call with any pocket pair, any ace and KQ (21% of all hands), you're still only a 59-41 favorite to win the pot.

Equity
MP2 40.80% { 22+, A2s+, K2s+, Q2s+, J2s+, T5s+, A2o+, K2o+, Q2o+, J7o+, T7o+, 97o+, 87o, 76o }
MP3 59.20% { 22+, A2s+, KQs, A2o+, KQo }