"will you mind if I ask" and "would you mind If I asked"
Why you should use "I asked" here?
This is simply because of tense agreement between the two clauses. Both clauses are in an in irrealis mood based on the past tense subjunctive. "I asked" is in the past tense because "Would you" is in the past tense.