Were you experiencing any jaw clenching/grinding. This can cause ear pain because the joint that your jaw hinges within (TMJ) is closely approximated to your ear.
Take 500mg of chelated magnesium before you take your meph and some ibuprofen afterwards can help alleviate pain if it is indeed caused by grinding.