Hi and welcome to HCM. Thank you for your query.
You can take antiinflammatory painkillers but consult your doctor before taking it. Also your thumb infection
might need to be treated by antibiotics and it can cause lymphadenopathia as well. ALso any respiratory infection can cause lymph nodes swelling. In your case this is probably throat infection
Wish you good health.