Peel and finely dice the onion, carrots, and celery to about 1/4 inch. Mince the garlic, grate the ginger, rinse the lentils in a fine-mesh strainer, and chop the cilantro and parsley.
Heat the olive oil in a large Dutch oven over medium heat. Add the onion, carrots, celery, and a pinch of salt and cook for 7 to 8 minutes, stirring often, until the onion is soft and translucent.
Stir in the garlic and ginger and cook for 1 minute until fragrant. Add the tomato paste and cook for 2 minutes, stirring often, until it darkens slightly and smells rich and sweet.
Sprinkle in the cumin, coriander, smoked paprika, turmeric, cinnamon, ras el hanout, and cayenne, stirring constantly for 30 to 60 seconds to bloom the spices. Add a splash of water if the pot looks dry.
Add the rinsed lentils and stir to coat. Pour in the diced tomatoes with their juices, the vegetable broth, and the water, then add the bay leaf, salt, and black pepper. Scrape up any browned bits from the bottom.
Bring to a gentle boil, then reduce the heat to medium-low, partially cover, and simmer for 30 to 35 minutes, stirring every 10 minutes, until the lentils are tender. Remove and discard the bay leaf.
Turn off the heat and pulse 4 to 5 times with an immersion blender, blending about one third of the soup, until thick and hearty with plenty of whole lentils still visible.
Stir in the lemon juice, chopped cilantro, and chopped parsley. Taste and adjust with more salt, pepper, or lemon juice, and thin with a splash of broth if needed.
Ladle into bowls and top each with a spoonful of Greek yogurt, a squeeze of lemon, extra cilantro, and a drizzle of olive oil if you like.