ensete
There are three classes of medication that treat this condition: Anti seizure medications (Topamax, depacote), anti depression medication (nortryptalin, effexor), and beta blockers (propranalol).
I was talking hypothetically as I think this condition (if ever given proper attention, research, name, etc.), in my non-professional opinion, would likely be on the hyperactive spectrum (migraine, epilepsy, Bipolar according to new research, many others).
Just in case anyone thought I was saying "there are studies that exist which say this" (there are none) I wanted to clear that up. All we have are scattered anecdotal reports.
Anti-depressants come in many different classes and nortryptalline and Effexor are pretty unrelated in how they function. Possible explanation for velafaxine (Effexor) are it's interaction with opioid receptors (https://www.ncbi.nlm.nih.gov/pubmed/11931344) (unrelated to it's SSRI functionality [it is classified as SNRI but it's noradrenergic component is incredibly weak]).
In the case of nortryptalline it is very strongly noradrenergic which is recognized as antinociceptive and, like other tricyclic antidepressants it blocks some ion channels in nerve cells which is also antinociceptive.
Both drugs will cause mydriasis (pupil dilation) which could make things worse. If I was a medical doctor (again, which I'm not), I would be very reluctant about prescriping these medications for someone with photosensitivity and unexplained pain. I know some doctors hand out low-dose tricyclics like candy (especially amitriptyline since it helps with sleep and chronic pain and insomnia go hand and hand) when they don't know what else to do.
Propranolol is a super interesting drug with a lot of off-label uses where it has found success. It has a million other mechanisms besides beta-blockade, which a quick search on PubMed will reveal. It was perscribed to me to treat akathisia after long-term SSRI use (17 years now) and it worked for that purpose although I had to stop due to side-effects.
The closest I have had to relief is anti-epileptic drugs. I've used topiramate, lomotrigine, several different benodiazepines, gabapetin, and pregabalin (currently using this one but titrating off due to side-effects) over the past several years and they all help to an extent but all caused me memory problems (among other things) probably due to the global reduction in neurotransmission.