In my world, a newly independent Mars established incentives to draw in scientists, engineers, and academics. Brilliant people flocked in from around the solar system, to fill high-paying but very selective jobs and gain instant citizenship as soon as they can land one. Rapidly increasing competition drove them to immigrate now, or wait a few years and potentially lose the opportunity forever. I don't mention IQ explicitly (it's a somewhat problematic measure), but imagine the average IQ on Mars is somewhere around 130, while real-world country averages top out at around 108.
The intelligence of the population has effects that deeply permeate the society. Combined with the fact that interplanetary trade is expensive, "globalized trade" tends to stop at the limits of the globe for anything but bulk materials that can be mined outside of a gravity well. So Mars has been able to reinvent itself with technology uniquely its own, unimpeded by real-world trade that keeps the technology of one country from far surpassing that of any other.
One such innovation, and the topic of this question, is a medical advance that among many others has allowed medicine to progress far beyond that of Earth. Real-world medicines are either directed to a specific tissue by topical application or injection, with topical application having limits on depth, and injection having limits on cost and convenience; or taken orally and distributed systemically via the bloodstream. Because most real-world medications are systemic, they have to be developed and tested using a complete organism, typically rodents, and then tested on complete humans, typically at great cost, both financial and temporal.
But the innovative people of Mars realized that if you could isolate the effect of a medication to a particular tissue, you could screen, test, and develop medications using small samples of lab-grown human tissue, bringing down the time to test a promising candidate medication from years to weeks, and replacing years of clinical trials with a single trial of several hundred volunteers, typically over a single year. The pace of medical innovation is staggering.
<end scene>
How could this work? Some of my favorite works of fiction take particular care to ensure that their technologies are very realistic, and I'd like to do the same. I'm not a big fan of unobtainium or handwavium, so ideally the solution is explainable, just perhaps not to the degree that a given reader would care to understand, and we're looking for something only one medical leap away from current (2020s) technology. In other words, carefully-designed enzymes yes, nanotech no. How could you isolate the effects of a medication to a single tissue, and stop it from acting or potentially even spreading elsewhere?
One alternative I'm considering (but definitely not fixed on) that could allow for topical sprays to supplant pills in many cases: what if a medication can spread in the intracellular space, but is broken down by something in the bloodstream to keep it from spreading by blood? How do you chemically justify a medication being broken down by something in the bloodstream, and how do you guarantee the result is inert and doesn't bioaccumulate?
Note: I stopped short of using the hard-science tag because I don't think looking for references is a good use of your time, I'd rather hear your ideas and then confirm for myself that they're possible, but I am looking for an answer that a doctor would ideally say is "clever, but definitely possible". Think like the people of Mars!