Hey Elad,
Small asymmetries like the one you are demonstrating in the BW squat are normal. This is not a muscle imbalance that you need to fix. Just start squatting with a barbell again. I'm sure the pain related to the side lunge will pass with time too.
Hope this helps!