SELECT 
  cscart_product_feature_variants.variant_id, 
  cscart_product_feature_variants.position, 
  cscart_product_feature_variants.color, 
  cscart_product_feature_variant_descriptions.variant 
FROM 
  cscart_product_feature_variants 
  LEFT JOIN cscart_product_feature_variant_descriptions ON cscart_product_feature_variants.variant_id = cscart_product_feature_variant_descriptions.variant_id 
  AND cscart_product_feature_variant_descriptions.lang_code = 'ru' 
WHERE 
  cscart_product_feature_variants.variant_id IN (
    5916, 1280, 1241, 1281, 1282, 1283, 1198, 
    5899, 1201, 1219, 1257, 1313, 5908, 
    5902, 1314, 1199, 1200, 5905, 5904, 
    1425, 5914, 5912, 5907, 1449, 5906, 
    5898, 5910, 5915, 5913, 5903, 5909, 
    5901, 1203, 1230, 1255, 1254, 5900, 
    1269, 1204, 5942, 5940
  ) 
ORDER BY 
  cscart_product_feature_variants.position ASC, 
  cscart_product_feature_variant_descriptions.variant ASC

Query time 0.00058

JSON explain

{
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "cscart_product_feature_variants.position, cscart_product_feature_variant_descriptions.variant",
      "temporary_table": {
        "table": {
          "table_name": "cscart_product_feature_variants",
          "access_type": "range",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["variant_id"],
          "rows": 41,
          "filtered": 100,
          "index_condition": "cscart_product_feature_variants.variant_id in (5916,1280,1241,1281,1282,1283,1198,5899,1201,1219,1257,1313,5908,5902,1314,1199,1200,5905,5904,1425,5914,5912,5907,1449,5906,5898,5910,5915,5913,5903,5909,5901,1203,1230,1255,1254,5900,1269,1204,5942,5940)"
        },
        "table": {
          "table_name": "cscart_product_feature_variant_descriptions",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["variant_id", "lang_code"],
          "ref": [
            "noframes_angrybeaver.cscart_product_feature_variants.variant_id",
            "const"
          ],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(cscart_product_feature_variant_descriptions.lang_code = 'ru')"
        }
      }
    }
  }
}

Result

variant_id position color variant
5898 0 #f5f0e6 Бежевый / Белый
1230 0 #c8bca5 Бежевый / Коралловый / Зеленый
1449 0 #cfc8ba Бежевый / Серый
1201 0 #ffffff Белый
1219 0 #5ab6d4 Голубой
5899 0 #e6e11f Желтый
1269 0 #f0f8ff Жемчужный
1283 0 #addfad Зеленый чай
5900 0 #ffd700 Золотой
1281 0 #ffffff Кирпичный
5901 0 #b98a72 Кирпичный / Бежевый
1255 0 #5b5a6e Коричнево-Синий
1257 0 #964b00 Коричневый
5902 0 #e3303c Красный
5903 0 #6e4a5a Красный-Синий
5913 0 #ffffff Лавандовый
5904 0 #b87333 Медный
5905 0 #ffffff Молочный
5906 0 #ffffff Молочный / Кирпичный / Чёрный
5907 0 #1200ff Мультиколор
5908 0 #ffa500 Оранжевый
1282 0 #ffffff Пудровый
1425 0 #00ff14 Разноцветный
1313 0 #f984e5 Розовый
1280 0 #a4a4a3 Светло-серый
1254 0 #c0c0c0 Серебряный
5909 0 #7a8894 Сине-серый
1314 0 #8a2be2 Фиолетовый
1200 0 #000000 Черный
5910 0 #000000 Чёрный / Бежевый
5940 1 #ffffff Бельгия
5912 1 #7d989d Голубовато-Серый
1198 1 #4f7942 Зеленый
1203 2 #cd5b45 Коралловый
1199 2 #003399 Синий
1204 2 #ffffff Турция
5942 3 #ffffff Россия
5914 5 #c3b091 Хаки
1241 7 #f3e5ab Бежевый
5915 9 #e6e6fa Лавандово-синий
5916 10 #708090 Серый