@samsundar23
Please try this:
JCR:
path=/content/dam
type=dam:AssetContent
property=dam:assetState
property.value=processing
SQL2:
SELECT * FROM [dam:AssetContent] AS node
WHERE ISDESCENDANTNODE(node, "/content/dam") and [dam:assetState] = "processing"
You can iterate the results for jcr:lastModified of each of the asset.