Cook the Shrimp: Heat 1 tablespoon of olive oil in a large skillet over medium-high heat. Add the shrimp, season with salt and pepper, and cook for 2–3 minutes per side until they turn pink and opaque. Remove the shrimp from the skillet and set aside.
Sauté the Broccoli: In the same skillet, add the remaining tablespoon of olive oil and butter. Add the broccoli florets and sauté for 5–7 minutes, stirring occasionally, until tender and slightly crispy on the edges.
Add Garlic and Red Pepper Flakes: Add the minced garlic and red pepper flakes (if using) to the skillet. Sauté for 1–2 minutes until fragrant.
Combine Shrimp and Broccoli: Return the shrimp to the skillet with the broccoli. Add lemon juice and toss everything together until the shrimp and broccoli are evenly coated with the garlic and butter sauce.
Serve: Garnish with fresh parsley, if desired, and serve immediately.