Regardless of the time of day you decide to fly, the ticket price will remain around the same. Book flights from Yogyakarta to Lahore as you normally would.
This is defined as Yogyakarta Adisutjipto Airport (JOG) and Lahore Airport (LHE). Codes like Lahore Airport are often used to just call airports uniquely.