Heat 1 tablespoon olive oil in a Dutch oven over medium heat. Add the bacon and cook until crisp. Remove the bacon with a slotted spoon and set it aside.
Season the beef cubes with salt and pepper. Working in batches, brown the beef in the bacon fat until all sides are seared. Remove the beef and set it aside.
Add the remaining tablespoon of olive oil if needed. Stir in the carrots and garlic. Cook for 2 minutes until the garlic is fragrant.
Sprinkle the flour over the vegetables and stir for 1 minute. Pour in the red wine and beef broth, scraping the bottom of the pot to release any browned bits.
Return the beef and bacon to the pot. Add the thyme and bay leaf. Bring to a simmer, then cover and cook on low heat for 2 hours until the beef is tender.
In a separate skillet, heat a little olive oil over medium heat. Add the mushrooms and pearl onions. Cook until the mushrooms are browned and the onions start to soften.
Stir the mushrooms and pearl onions into the stew. Simmer uncovered for 20 minutes to thicken the sauce. Remove the thyme sprigs and bay leaf before serving.