It depends on the type of LAG. Generally you should be 3betting someone light who opens light, as LAG players do. If they are floating frequently then you need to lower your standards for what hands are okay to stick the money AI with. In the hand above i would c/f turn even against a light floater, but with Ax-9x/10-10 i would shove the turn.

So the solution is to go all in lighter.