Optimize Oracle PL/SQL for millions of API calls