...well yes he said that. BUT he said that in the Abrams Movie, which makes it questionable if that was just another stupid plothole.
Nowhere in TOS or ST 1 - 6 had Prime Scotty anything to do with Transwarp Beaming.
The only referrence for that tech is in a TNG Episode where a Ferengi named Bok used it to get on the 1701-D and even then Data said something like that it was unreliable technology or unstable or something and therefore we never heard of it again.
That all just doesn't add up.
The Dominion also had transporter technology that could beam you from one location to another, from a distance of about three light years. Section 31's recreation of this technology for Bashir also showed that this could be even done onto a ship moving at warp speed. Plus Voyager has encountered a few species that used similar technology too. I'm sure Starfleet in the late 24th century after their return poured over their data logs with a fine toothcomb.