Unfortunately it is not possible to query transactions based on asset data with the API.
Also, it is not planned to add this feature to the Lisk SDK.
So in case you need transactions based on data in asset you would first require all transactions with Lisk Elements, and then write small function to filter out the relevant transactions based on the asset data.
If would like to see this feature in the Lisk SDK, feel free to open a new issue at the Lisk SDK GitHub repository, maybe the devs will include it in one of their sprints