Heat the olive oil in a large pot over medium heat. Add the chopped onion, carrots, and celery. Cook, stirring occasionally, until the onion is soft, about 5 to 7 minutes.
Stir in the minced garlic and diced potatoes along with the tomato paste. Cook for about 2 minutes, stirring well.
Pour in the diced tomatoes and vegetable broth. Add the bay leaves and dried thyme and oregano. Increase the heat to bring the mixture to a boil.
Lower the heat to a gentle simmer and cook for 25 minutes, until the potatoes are tender.
Add the green beans, corn, and peas. Simmer for another 5 minutes. Remove the bay leaves, add lemon juice, and adjust salt, pepper, and red pepper flakes to taste. Serve warm, garnished with parsley.