Node Js Check If Element Exists In Sql