I don't understand, your medical school doesn't have a IM program (residency) or cardiology program (fellowship)?
In any case, concentrate on matching into top tier IM residency first, which will make matching into cardiology fellowship easier. Research productivity is more important as this will result in stronger LoR. I would recommend joining the lab that can get your name into papers.