Impossible to answer without access to your database.
The one thing that does jump out is that you should remove the
LEFT JOIN
s, since you're not selecting anything from the joined tables, and your
WHERE
clause explicitly excludes records where there is a matching record in those tables.
Also, don't use
SELECT *
; list the columns you actually want to use.
SELECT
... COLUMN LIST ...
FROM
lr l
WHERE
l.ComID = 10
AND
l.FInID = '2021-22'
AND
NOT EXISTS
(
SELECT *
FROM poddetail
WHERE l.LrNum = p.LrNum
)
AND
NOT EXISTS
(
SELECT *
FROM servicebilldetail
WHERE l.LrNum = sd.Desciption
)
ORDER BY
l.LRDate DESC
LIMIT 250