Hi! what kind of export do you expect you will have?
If you export for a runtime and not a gif or video, you can have two separate animations: one for the repeating keys, and the other longer one.
You can preview the two animations working together by playing each one on its own track in the preview view:
Preview - Spine User Guide
At runtime you'd play each animation on a separate track to achievethe same result.