Convert Your Legacy SQL to Laravel Query Builder