Well thanks to the rather stupid Project Cars Ai that is a tough one, best run a qualifying setting with an AI that is challenging enough but that you can still beat on one lap pace, to get pole.
Why not 0% AI, because then it is totally slow and you'll constantly lap them, and overtaking can become a hazard because you maybe be still going full chat while they already brake into a braking zone.
Aside from that, racing against a too easy AI is just too damn boring.
Remember to take care of your tires and especially your engine.