There is no difference in time between the first and the secound type of conditional sentence; that is, the second, like the first, refers to present or future. The past tense in the if-clause is not a true past tense but a subjunctive, which indicates improbability or unreality.