Laravel Get Sql Query With Variables On Both Sides