Whisk together flour, salt, and cayenne pepper in a bowl.
Toss in shrimp until evenly coated. Shake off any excess flour.
Heat olive oil in a pan.
Add shrimp and cook for 1-2 minutes per side. Set aside.
Add butter to the pan.
Add garlic and red pepper flakes. Sautee until aromatic.
Add mushrooms. Stir for 1-2 minutes.
Add heavy cream and lemon juice. Bring to a gentle simmer.
Toss in cooked pasta and cherry tomatoes.
Transfer to a serving platter then top with reserved shrimp and chopped basil.