It's a very clear $30 flop bet required here IMO rather than $10.
On that board you make two assumptions.
1. Your hand is probably good.
2. There are many draws. Cards you don't want to see include 9 hearts, 3 remaining Queens, 3 Kings and 3 Aces. The other 3 sixes are probably bad news and even spiking your set, the other 2 Jacks might be a sorry sight. That's 23 cards, half the deck with two cards to come!
You don't want to milk your opponents, you want to bet big so they make a mistake if they're calling with weak draws.* Bet the size of the pot, if this is over 40% of your stack, just go ahead and go all-in. You don't want to bet $10 and make it correct for a weak ass hand like
to call you (or go over the top of you)
With one overcard and a flush draw, K2 would have still been correct to call if you went all-in. It is not a weak draw here, he has 12 live cards. In this specific hand, theres nothing you could have done to avoid losing the dosh, however in the future, play your vulnerable overpairs fast on draw heavy boards.