Marco is fighting them since chapter 1000, these chapters until 1022 just reflect a small portions of a much bigger amount of time passing really fast, so lots of things get offscreened.
Queen wasn't even paying attention to Sanji, King and Queen were all in the same place this whole time, alongside with Marco, mummy Zoro, Sanji and Chopper, exactly as we see during 1022, thats when Marco says "it is time for the stars to take the stage"
Then the real 1vs1s start on 1023