MDR: Model-Specific Demonstration Retrieval at Inference Time for In-Context Learning