Well, I figured it out in the end.
Looks like you can drag-select multiple keyframes.

I deleted the ones I didn't need and dragged the whole selection to 0.

Then, on the timeline, lower the length of the animation to the length needed.

Repeat for any unneeded keyframes located after the interval.