Hi in my opinion you are suffering from Upper respiratory tract
Your nose and sinuses
are congested, producing thick mucus which when drained releives the blockage.
You also have eustachian catarrh with causes ear pain
If I were your treating doctor I would have advised penicillin antibiotics with anti inflammatory medicines with anti histamines
for 5 to 7 days.