How can i import csv into cloudflare d1 database

I have a csv file with has key and value pairs but how do i import that into D1 database so I can quickly return response for the requested key.