Welcome to HCM,
This might be due to going abdominal muscles into the spasm due to long sex giving rise to this type of pain.
There is possibility of having acute appendicitis
pain precipitated due to strain.
Wait for some time and if there is no improvement then consult your doctor.
oK AND BYE.