You asked

Is a fast prime better than the 25 50mm for indoor shots in dim rooms?

The Panasonic Leica DG 25-50mm f/1.7 is already a fast lens. It's a Micro Four Thirds zoom with a constant f/1.7 aperture, so it gathers as much light as a 50mm f/1.8 prime across its whole range. A fast prime won't be brighter for indoor shots, and the specs show it has autofocus but no stabilisation, so it steadies the camera, not a moving subject.

A prime's advantage is elsewhere. The guide says primes are smaller, sharper for the money, and much faster than zooms at a similar price. A 50mm f/1.8 is the guide's usual suggestion for people and low light, and the first camera guide recommends spending as much on a lens as on the body. So if you want the lowest cost and the sharpest images in a dim room, a fast prime is the better buy. If you want to frame people at several distances without moving your feet, the 25-50mm is the more useful lens, and you lose almost no light by choosing it.

The site doesn't name a specific Micro Four Thirds prime in this comparison. Check that any prime you consider is made for your camera's mount: the TTArtisan 90mm f/1.25 is made for full-frame cameras and won't fit a Micro Four Thirds body.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.