SELECT 
  v.variant_id, 
  v.product_id, 
  vd.variant, 
  vf.position, 
  vf.color 
FROM 
  cscart_product_features_values v 
  LEFT JOIN cscart_product_feature_variant_descriptions vd ON v.variant_id = vd.variant_id 
  AND vd.lang_code = 'en' 
  LEFT JOIN cscart_product_feature_variants vf ON v.variant_id = vf.variant_id 
WHERE 
  1 
  AND v.feature_id = 1208 
  AND v.product_id IN (
    '36343', '36352', '36354', '17417', 
    '36351', '36353', '36350', '36349', 
    '36348', '36347', '36346', '36345', 
    '36342', '36341', '36340', '36339', 
    '36344', '36338', '36337', '36336', 
    '36335'
  )

Query time 0.00175

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "19.36"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "v",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "feature_id",
            "product_id"
          ],
          "key_length": "6",
          "rows_examined_per_scan": 21,
          "rows_produced_per_join": 21,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "2.56",
            "eval_cost": "2.10",
            "prefix_cost": "4.66",
            "data_read_per_join": "16K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id"
          ],
          "attached_condition": "((`cscartdb`.`v`.`feature_id` = 1208) and (`cscartdb`.`v`.`product_id` in ('36343','36352','36354','17417','36351','36353','36350','36349','36348','36347','36346','36345','36342','36341','36340','36339','36344','36338','36337','36336','36335')))"
        }
      },
      {
        "table": {
          "table_name": "vd",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "variant_id",
            "lang_code"
          ],
          "key_length": "9",
          "ref": [
            "cscartdb.v.variant_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 21,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "5.25",
            "eval_cost": "2.10",
            "prefix_cost": "12.01",
            "data_read_per_join": "63K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      },
      {
        "table": {
          "table_name": "vf",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "variant_id"
          ],
          "key_length": "3",
          "ref": [
            "cscartdb.v.variant_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 21,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "5.25",
            "eval_cost": "2.10",
            "prefix_cost": "19.36",
            "data_read_per_join": "23K"
          },
          "used_columns": [
            "variant_id",
            "color",
            "position"
          ]
        }
      }
    ]
  }
}

Result

variant_id product_id variant position color
4713 17417 Full set/XS 0 #000000
4714 36335 Full set/S 1 #000000
4715 36336 Full set/M 2 #000000
4716 36337 Full set/L 3 #000000
4717 36338 Full set/XL 4 #000000
4718 36339 Full set/2XL 5 #000000
4719 36340 Full set/3XL 6 #000000
4720 36341 Strap on harness/XS 7 #000000
4721 36342 Strap on harness/S 8 #000000
4722 36343 Strap on harness/M 9 #000000
4723 36344 Strap on harness/L 10 #000000
4724 36345 Strap on harness/XL 11 #000000
4725 36346 Strap on harness/2XL 12 #000000
4726 36347 Strap on harness/3XL 13 #000000
4727 36348 Bra harness/XS 14 #000000
4728 36349 Bra harness/S 15 #000000
4729 36350 Bra harness/M 16 #000000
4730 36351 Bra harness/L 17 #000000
4731 36352 Bra harness/XL 18 #000000
4732 36353 Bra harness/2XL 19 #000000
4733 36354 Bra harness/3XL 20 #000000