Our cat has bouts of Feline Idiopathic Cystitis - all the symptoms of cystitis but no apparent cause such as infection.
Probably stress due to other cats on her territory. Vet usually prescribes pain killers which may be effective, but I suspect it would clear up by itself anyway.
Have you got a urine testing kit from the vet? Its just a sachet of plastic beads that go in a clean litter tray instead of the litter. then a pipette and sterile bottle for the sample. I keep one in stock so when she has symptoms I can get a urine sample (it can take a long time) and take it in with her - saves on time and travel.
However, our vets did spend about 3 years trying to sort out her other symptoms, which sometimes seemed to be like cystitis, before we got her referred to a consultant vet, who turned out to be a feline neurologist. She immediately recognised the problem as feline hyperthesia, and prescribed anti epileptic medication, which mostly keeps the symptoms under control. No-one at our vets practice had heard of feline hyperthesia...
I think what I'm saying is if she doesn't improve, and if you have insurance, referral to a neurology/behavoir consultant would be worthwhile. (actually, the £180 consultant's fee was a lot less than the £2000 we were quoted for an MRI scan which was what I thought she was going to the consultant for!)
A unexpected bonus of the long distance trip to the consultant was that I bought a much bigger pet carrier.
Cats need to squat upright to pee or defaecate, and most carriers are just not tall enough. So after a lot of searching I found a
larger and taller one, and she travels much better. Only the occasional meaow instead of the protracted yowling. Its also heavy, so we use it as an additional barricade against the cat hatch when we want her shut in at night!