SELECT 
  q_product_descriptions.product_id, 
  q_product_descriptions.short_description, 
  IF(
    q_product_descriptions.short_description = '', 
    q_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  q_product_descriptions 
WHERE 
  q_product_descriptions.product_id IN (
    513, 514, 467, 468, 469, 470, 471, 472, 
    473, 474, 475, 476, 477, 478, 479, 480, 
    481, 482, 483, 484, 485, 486, 487, 488, 
    490, 491, 492, 493, 494, 495
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00072

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "72.01"
    },
    "table": {
      "table_name": "q_product_descriptions",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "product_id"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id",
        "lang_code"
      ],
      "key_length": "9",
      "rows_examined_per_scan": 30,
      "rows_produced_per_join": 30,
      "filtered": "100.00",
      "index_condition": "((`portal`.`q_product_descriptions`.`product_id` in (513,514,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,490,491,492,493,494,495)) and (`portal`.`q_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "66.01",
        "eval_cost": "6.00",
        "prefix_cost": "72.01",
        "data_read_per_join": "114K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
467 <p>The fifth fragrance from the luxurious collection Elixir Charnel by Guerlain, Floral Romantique, joins the other editions in June 2011. The collection, which includes fragrances Gourmand Coquin, Chypre Fatal, Oriental Brulant and Le Boise Torrid, celebrates female sensuality in a special way, capturing its various aspects. The woody - flowery composition of Floral Romantique, which was created by Thierry Wasser, completely justifies the name it carries. Fresh top notes of mandarin and orange lead to the core of jasmine, ylang-ylang and tiare, with additional accords of lily and carnation. Woody nuances of cedar in the base are combined with smoked tea, chestnut, ambrette and mate.</p>
468 <p>A fragrance built on lush Persian rose, the legendary blossom of the east. Creamy yet dark, rose is given a mysterious air via saffron, patchouli and a hint of agarwood (oud), fanned on rich benzoin resin. Rose Nacree du Desert was launched in 2012.</p>
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
490
491
492
493
494
495
513
514