We have numerically investigated the effect of the delay times τf and τs of a mixture of fast and slow vehicles on the fundamental diagram (the current-density relation) of the optimal velocity model. The optimal velocity function of the fast cars depends not only on the headway of each car but also on the headway of the immediately preceding one. It is found that the small delay times have almost no effects, while, for sufficiently large delay time τs, the current profile displays qualitatively five different forms, depending on τf, τs and the fractions df and ds of the fast and slow cars, respectively. The velocity (current) exhibits first-order transitions at low and/or high densities, from freely moving phase to the congested state, and from congested state to a jamming one, respectively. The minimal current appears in intermediate values of τs. Furthermore, there exist a critical value of τf above which the metastability and hysteresis appear. The spatial-temporal traffic patterns near the congested-jamming first-order transition is also presented.