In a large mixing bowl whisk together the mayonnaise, salt, sugar, pineapple, raisins, curry powder, garlic, and celery seed and/or caraway seed, if using. Add the carrots and toss to combine. Serve immediately or refrigerate for 1 hour to serve cold.