Just the ticket

just the ticket AND
that's the ticket
(just the perfect thing; exactly what is needed) — самое то; то, что надо; то, что доктор прописал

Example 1: This soup is just the ticket for a quick lunch. (thefreedictionary.com)

Example 2: A good, hot cup of coffee will be just the ticket. (thefreedictionary.com)

Example 3: Young kids need all the energy and protein they can get and whole milk is just the ticket.

Example 4: An evening without the kids was just the ticket. (thefreedictionary.com)

Example 5:
John: Would you like something to drink?
Ann: Yes, a cold glass of water would be just the ticket.

Example 6: If you love a splash of color, this striped T-shirt is just the ticket. (thefreedictionary.com)

Related vocabulary:
[what the doctor ordered]
[fit the bill]
hit a nail on the head
[hit the bull's eye]
[попасть в самую точку]

[way to go]

[bee's knees]

The exact allusion is disputed—it could be to a winning lottery ticket, a price tag for merchandise, or, as one writer suggests, a corruption of the French word etiquette for “appropriate behavior.” (The American Heritage Dictionary of Idioms)