Excluding Megas:
Galarian Darmanitan (Zen Mode) has the highest total of base Attack and speed of any non-legendary, non-mega Pokémon at 295: 160 Attack and 135 Speed.
Ash-Geninja has the highest total of base Special Attack and Speed of any non-legendary, non-mega Pokémon at 283: 153 Special Attack and 130 Speed.
Including Megas:
Mega Absol Z has the highest total of base Attack and speed of any non-legendary Pokémon at 305: 154 Attack and 151 Speed.
Mega Alakazam has the highest total of base Special Attack and Speed of any non-legendary Pokémon at 325: 175 Special Attack and 150 Speed.
Source: Pokédex With Stats—Pokémon Database
Hope I helped!