Thanks, Chris. The generic ones online turned out to be a bit too small at a diameter of 22mm. About 24mm might be the right diameter? The bung hole in the mattress has a flat seal, and the threads start immediately below that.
I never saw the original cap - the mattress was given to a child by a grandparent. The donor didn't know that the cap was missing.
I hate to discard an otherwise useable mattress, so maybe I'll make a removeable cover for the twist-type drain plug to prevent the brass handle from poking the person sleeping. Or, buy a drain plug with a handle that snaps, rather than twists:
As always, I appreciate the suggestions.
Jon