There are no time limitations for recall work. If you purchase a used car that has been recalled, the manufacturer is still obligated to fix the issue free of charge, regardless of how old the vehicle is – or when the recall was issued.
Therefore, if you do discover that your car is subject to recall, you should arrange for the repairs to be carried out as soon as possible.