SELECT 
  q_product_feature_variants.variant_id, 
  q_product_feature_variants.position, 
  q_product_feature_variants.color, 
  q_product_feature_variant_descriptions.variant 
FROM 
  q_product_feature_variants 
  LEFT JOIN q_product_feature_variant_descriptions ON q_product_feature_variants.variant_id = q_product_feature_variant_descriptions.variant_id 
  AND q_product_feature_variant_descriptions.lang_code = 'en' 
WHERE 
  q_product_feature_variants.variant_id IN (
    7, 
    8, 
    9, 
    10, 
    13, 
    14, 
    15, 
    16, 
    27, 
    28, 
    66, 
    67, 
    69, 
    70, 
    71, 
    72, 
    73, 
    75, 
    76, 
    78, 
    79, 
    80, 
    81, 
    297, 
    5779, 
    5781, 
    5785, 
    5839, 
    5841, 
    5842, 
    5843, 
    5844, 
    5918, 
    5957, 
    6026, 
    6087, 
    6097, 
    6098, 
    6158, 
    6180, 
    6437, 
    6643, 
    6714, 
    6728, 
    7557, 
    7559, 
    7603, 
    7651, 
    8159, 
    8163, 
    8189, 
    8190, 
    8191, 
    8192, 
    8193, 
    8197, 
    8200, 
    8203, 
    8204, 
    8206, 
    8208, 
    8210, 
    8211, 
    8212, 
    8215, 
    8219, 
    8222, 
    8224, 
    8225, 
    8226, 
    8228, 
    8230, 
    8231, 
    8235, 
    8236, 
    8237, 
    8241, 
    8246, 
    8248, 
    8253, 
    8254, 
    8284, 
    8286, 
    8288, 
    8291, 
    8293, 
    8295, 
    8296, 
    8297, 
    8298, 
    8299, 
    8301, 
    8302, 
    8304, 
    8305, 
    8306, 
    8307, 
    8346, 
    8347, 
    8348, 
    8352, 
    8353, 
    8354, 
    8358, 
    8359, 
    8362, 
    8363, 
    8365, 
    8367, 
    8368, 
    8369, 
    8370, 
    8371, 
    8380, 
    8383, 
    8384, 
    8385, 
    8386, 
    8389, 
    8390, 
    8391, 
    8393, 
    8395, 
    8396, 
    8399, 
    8405, 
    8406, 
    8407, 
    8411, 
    8412, 
    8413, 
    8414, 
    8415, 
    8416, 
    8465
  ) 
ORDER BY 
  q_product_feature_variants.position ASC, 
  q_product_feature_variant_descriptions.variant ASC

Query time 0.00221

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "486.01"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "q_product_feature_variants",
            "access_type": "range",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "variant_id"
            ],
            "key_length": "3",
            "rows_examined_per_scan": 135,
            "rows_produced_per_join": 135,
            "filtered": "100.00",
            "index_condition": "(`portal`.`q_product_feature_variants`.`variant_id` in (7,8,9,10,13,14,15,16,27,28,66,67,69,70,71,72,73,75,76,78,79,80,81,297,5779,5781,5785,5839,5841,5842,5843,5844,5918,5957,6026,6087,6097,6098,6158,6180,6437,6643,6714,6728,7557,7559,7603,7651,8159,8163,8189,8190,8191,8192,8193,8197,8200,8203,8204,8206,8208,8210,8211,8212,8215,8219,8222,8224,8225,8226,8228,8230,8231,8235,8236,8237,8241,8246,8248,8253,8254,8284,8286,8288,8291,8293,8295,8296,8297,8298,8299,8301,8302,8304,8305,8306,8307,8346,8347,8348,8352,8353,8354,8358,8359,8362,8363,8365,8367,8368,8369,8370,8371,8380,8383,8384,8385,8386,8389,8390,8391,8393,8395,8396,8399,8405,8406,8407,8411,8412,8413,8414,8415,8416,8465))",
            "cost_info": {
              "read_cost": "297.01",
              "eval_cost": "27.00",
              "prefix_cost": "324.01",
              "data_read_per_join": "153K"
            },
            "used_columns": [
              "variant_id",
              "color",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "q_product_feature_variant_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "variant_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "portal.q_product_feature_variants.variant_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 135,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "135.00",
              "eval_cost": "27.00",
              "prefix_cost": "486.01",
              "data_read_per_join": "408K"
            },
            "used_columns": [
              "variant_id",
              "variant",
              "lang_code"
            ]
          }
        }
      ]
    }
  }
}

Result

variant_id position color variant
8225 0 Abercrombie & Fitch
8226 0 Acqua Di Parisis
7651 0 Adam Levine
8228 0 Adrienne
8230 0 Aigner
8231 0 Albane Noble
5842 0 Amouage
8235 0 Angel Schlesser
8163 0 Annick Goutal
8236 0 Antonio Banderas
8237 0 Aquolina
5957 0 Ard Al Zaafran
8241 0 Armand Basi
8246 0 Benetton
8248 0 Beyonce
8253 0 Britney Spears
8 0 Burberry
8254 0 Bvlgari
28 0 Calvin Klein
78 0 Carolina Herrera
67 0 Chanel
8159 0 Chloe
6026 0 City Collection
5839 0 Creed
76 0 Davidoff
5843 0 Diesel
66 0 Dior
27 0 Dolce & Gabbana
79 0 Elie Saab
15 0 Emporio Armani
8284 0 Fendi
8286 0 Flawless
6158 0 Fragrance City
8288 0 Franck Olivier
8291 0 Geparlys
8293 0 Gilda
16 0 Giorgio Armani
7603 0 Givenchy
70 0 Gucci
6643 0 Guerlain
7557 0 Guess
8295 0 Guy Laroche
8296 0 Halston
8297 0 Her Scent
8298 0 Hermes
8299 0 Horseball
7 0 Hugo Boss
6728 0 Iceberg
9 0 Issey Miyake
8301 0 J.B.
8302 0 Jacomo
8304 0 Jean Loues
8305 0 Jean Paul
8306 0 Jeanne Arthes
8307 0 Jennifer Lopez
13 0 Kenzo
75 0 Lacoste
72 0 Lancome
6097 0 Language
6098 0 Lonkoom
8189 0 Louis Vuitton
8190 0 Maison Margiela
7559 0 Mancera
8191 0 Memo
5785 0 Memo Paris
8192 0 Micallef
8346 0 Miu Miu
8347 0 Mizensir
8348 0 Mon Idole
14 0 Mont Blanc
8193 0 Montale Paris
8352 0 Morena
8353 0 Moschino
8354 0 Ms Collection
5918 0 Narciso Rodriguez
5844 0 Nina Ricci
8358 0 Noran
8359 0 Notebook
8393 0 Nur
8362 0 Olivier
6437 0 One Direction
8197 0 Ormonde Jayne
8363 0 Oud Bouquet
5781 0 Paco Rabanne
8365 0 Paloma
8367 0 Paradise
8368 0 Parfums Gres
8369 0 Paris Hilton
8370 0 Pascal Morabito
8200 0 Penhaligon'S
8371 0 Pepe
8224 0 Perry Ellis
5841 0 Prada
73 0 Ralph Lauren
8380 0 Repetto
8203 0 Replica
8383 0 Rihanna
8204 0 Robert Piguet
71 0 Roberto Cavalli
8384 0 Rocco Barocco
8385 0 Rochas
8386 0 Romeo
8206 0 Rose Garden
6180 0 Royal
8389 0 S.T. Dupont
8390 0 Salvatore Ferragamo
8465 0 Sapil Pink
8391 0 Sarah Jessica
8208 0 Shaikh
8395 0 Shine
8396 0 Signature
8210 0 Simimi Extrait
8211 0 Sooud
8212 0 Sospiro
8399 0 Stella Mccartney
8215 0 Thameen
8405 0 Theirry Mugler
8406 0 Tiffany & Co
10 0 Tom Ford
8407 0 Tommy
8219 0 Trish Mcevoy
80 0 Trussardi
297 0 Valentino
69 0 Van Cleef & Arpels
8411 0 Venitienne
6714 0 Vera Wang
81 0 Versace
6087 0 Victoria Secret
8412 0 Victoria Secret
8413 0 Viktor & Rolf
8414 0 Vince Camuto
8222 0 Xerjoff
8415 0 Yolo
5779 0 Yves Saint Laurent
8416 0 Zarah