Use any messaging queue. One script can publish on Messaging queue topic and second one subscribe to it.
put your logic to read csv in first script and storing to MySQL to second one. You can Scale Up or scale down any one of them as per your requirement.
I've used this for injesting 75Million rows to ElasticSearch.