Lenders count the required monthly payment, not the balance. A car loan with $2,000 remaining and a $480 monthly payment counts as $480 against your ratio — exactly the same as one with $20,000 remaining at the same payment.
That makes clearing a small loan entirely far more valuable than reducing a large one. Paying $2,000 to eliminate that car loan removes $480 from your ratio and adds roughly $74,000 to your borrowing power at current rates. Paying the same $2,000 toward a mortgage down payment adds $2,000. Some lenders also exclude installment loans with fewer than ten payments remaining — worth asking about directly if you're near a threshold.