usually do not occur at this age so don't worry. It seems a muskuloskeletal problem.
consult an orthopedican who may advise some blood tests like RA factor, CRP etc.
you may get relieved by a course of analgesic
and muscle relaxant
with some sessions of physiotherapy
there is nothing to worry as smoking a pack of cigarette for 40 yrs usually leads to lung cancer.
but it is always better to quit smoking.
best wishes for your health