Thank for asking to HCM
does not give any pain unless the fecal material badly impacted but this is very rare conditions seen, your abdominal pain
is not because of the constipation but this seems functional in origin so just no need to worry about this for the constipation drink more water, have fibber diet if I would be your doctor then I would treat you with the following medicine,
1) Tab Chlorodiazepoxide with Clidinium three times in day
take care and have good day.