You wouldn't need a transit visa if all of the below conditions are satisfied:
1) Transit time less than 24 hours as determined by scheduled arrival and departure times; With confirmed plane tickets to a third country;
2) Staying in the specific Transit Area (means no clearing immigration, no re-checking your luggage).
As far as I understand, your option 1 is BKK-MAA-IXM-DXB. If so, this is impossible as MAA-IXM is a domestic flight and you must clear immigration and enter India at MAA.
Hence, option 2 is the most likely solution, if and only if both sectors are on a single ticket. You having no checked bags simplifies the situation somewhat.