I reduced number of columns in SELECT and it fixed the problem.
Which means that root cause of the issue was server side failure.
Not sure if Clickhouse had an issue with specific column values or size of data.
In both cases there should have been some traces in the error log I guess but there were none.