Royston doesn’t seem like a particularly important place and also is very close to Cambridge. Why did BR wait until 1991 for electrification to Cambridge?
The original GN suburban electrification proposal was part of the Modernisation Plan and only went out to Letchworth. It was intended to start after the Chingford/Enfield/Hertford/Stortford scheme was completed in 1960, but was lost as part of the investment cutbacks that preceded Beeching.
In the early 1970s, when GN suburban electrification was eventually approved, the main route between Cambridge and London was still to Liverpool Street, with full restaurant service on Kings Lynn trains and buffet cars on most Cambridge trains.
Electrifying to Cambridge at that time was regarded as too expensive because it was thought necessary to provide on train catering, and this would need to be loco hauled, but there was nowhere suitable to maintain electric locomotives without building new facilities for a small fleet.
By then both Baldock and Royston had commuter traffic, but Meldreth, Shepreth and Foxton only had a few trains a day. The limited amount of commuting from Cambridge was almost entirely to Liverpool Street.
When electrification to Royston was completed in 1978 the Cambridge-Kings Cross Buffet Expresses were replaced with trains to Liverpool Street, and Royston-Cambridge got a shuttle service with DMUs. These were based at Cambridge (which had always been heavily involved in maintaining the GN DMU fleet) and also covered Hitchin-Huntingdon.
BR didn't wait until 1991 to electrify to Cambridge. The line from Bishops Stortford was electrified in 1987, and for almost 2 years had loco hauled trains with class 86s worked over from Willesden. Royston-Cambridge followed in 1988.
When the Cambridge-Kings Lynn electrification was approved, through working between Kings Lynn and London ceased in 1990, and it was only then that Kings Cross became the main route between London and Cambridge. When Kings Lynn electrification was completed in 1992, and through trains to London were restored, they were to and from Kings Cross, apart from a few peak time Liverpool Street trains. This was partly driven by the need to provide capacity on the Liverpool Street line for the Stansted Express.