#1 is more focused on the present, and #2 is more focused on the past.
If King's landing mourned Joffrey, Jaime would never have known it.
This implies that King's landing is not mourning Joffrey, but if they started to, Jaime would not know about it (right now).
If King's landing had mourned Joffrey, Jaime would never have known.
This implies that King's landing did not mourn Joffrey, but if they (theoretically) had mourned Joffrey, then Jaime would not have known about it (in the past).
Hope that helps :)