SELECT 
  cscart_product_descriptions.product_id, 
  cscart_product_descriptions.short_description, 
  IF(
    cscart_product_descriptions.short_description = '' 
    OR cscart_product_descriptions.short_description IS NULL, 
    cscart_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  cscart_product_descriptions 
WHERE 
  cscart_product_descriptions.product_id IN (26, 35, 36, 46, 45, 44, 13, 17, 20) 
  AND cscart_product_descriptions.lang_code = 'ja'

Query time 0.00006

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_product_descriptions",
      "access_type": "range",
      "possible_keys": ["PRIMARY", "product_id"],
      "key": "product_id",
      "key_length": "3",
      "used_key_parts": ["product_id"],
      "rows": 9,
      "filtered": 100,
      "index_condition": "cscart_product_descriptions.product_id in (26,35,36,46,45,44,13,17,20)",
      "attached_condition": "cscart_product_descriptions.lang_code = 'ja'"
    }
  }
}

Result

product_id short_description full_description
13 <p> &quot;車のガレージでスタートした無名の若者が億万長者に&quot; - こんなニュースを目にするたびに「自分にはできない」と落ち込んでいるあなたに贈る1冊。<br /> あなたのアイデアを100万ドルビジネスにつなげる12のステップをわかりやすく解説しています。</p> <p> <ul style="text-align: left; color: #000000; font-size: 12px; background-color: #ffffff;"> <li style="text-align: left;">アイデアをターゲットにしっかり届ける方法</li> <li style="text-align: left;">競合調査</li> <li style="text-align: left;">信頼できる製造業者の探し方</li> <li style="text-align: left;">ブランディング</li> <li style="text-align: left;">ネットで口コミをひろげる方法</li> <li style="text-align: left;">見本市を活用しよう</li> </ul>
17 <p><span style="color: #000000; font-family: Arial, sans-serif; font-size: 12px; background-color: #ffffff;">株式・デリバティブから金利やヘッジファンドまで、気鋭の経済ライターが経済についてわかりやすく説明した入門書。</span></p> <ul style="text-align: left; color: #000000; font-size: 12px; background-color: #ffffff;"> <li style="text-align: left;">FF金利が上がる(下がる)と自分の生活にどんな影響がでるの?</li> <li style="text-align: left;">債券、株式、デリバティブって何が違うの?どれを買えばいい?</li> <li style="text-align: left;">ケインジアンってどんな人たち?</li> </ul> など経済の仕組みや用語に関する101の質問について解説しています。
20 <p> <em style="color: #000000; font-family: Verdana; background-color: #ffffff; font-size: small;"><strong>金投資のABC</strong></em><span style="color: rgb(0, 0, 0); font-family: Verdana; background-color: rgb(255, 255, 255); font-size: small;">&nbsp;(第2版) は金投資の入門書として最良の1冊です。 </span><br /> <span style="color: #000000; font-family: Verdana; background-color: #ffffff; font-size: small;">著者 Michael J. Kosares が自らの30年以上にわたるゴールド関連ビジネスの経験から、</span><span style="color: #000000; font-family: Verdana; background-color: #ffffff; font-size: small;">激変する世界経済の中で自らの資産を守るため金投資をどう活用すればよいのかをわかりやすく解説しています。</span></p>
26 <p> 前バージョン &quot;Snow Leopard&quot; から大幅に進化したMac OS X 10.6 &quot;Lion&quot;。<br /> スピードや安定性の向上はもちろんのこと、実はマニュアルには記載されていない部分も多く改良されています。</p> <p> Mac関連書籍で圧倒的な支持を得ているDavid Pogueがユーモアを交えながらLionの隠された魅力についてわかりやすく解説します。</p>
35 <p> スマートフォンやタブレット端末の普及により、インターネットへのアクセス方法が急激に多様化しています。<br /> 本書では企業が多様なデバイスに最適化したコンテンツを提供するための「統合コンテンツマネジメント」について解説しています。</p> <p> <ul style="margin-top: 0px; margin-bottom: 1em; margin-left: 1.5em; color: #000000; font-family: 'Lucida Grande', Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff; padding: 0px;"> <li style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 1.5em;"> ユーザーは何を求めているのか</li> </ul> <ul style="margin-top: 0px; margin-bottom: 1em; margin-left: 1.5em; color: #000000; font-family: 'Lucida Grande', Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff; padding: 0px;"> <li style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 1.5em;"> レスポンシブなWebサイトのためのコンテンツ管理モデル</li> </ul> <ul style="margin-top: 0px; margin-bottom: 1em; margin-left: 1.5em; color: #000000; font-family: 'Lucida Grande', Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff; padding: 0px;"> <li style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 1.5em;"> 多様なデバイスに対応するためのコンテンツ活用法</li> </ul> <ul style="margin-top: 0px; margin-bottom: 1em; margin-left: 1.5em; color: #000000; font-family: 'Lucida Grande', Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff; padding: 0px;"> <li style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 1.5em;"> タグ(メタデータ)を整備して最適なコンテンツを提供する</li> </ul> <ul style="margin-top: 0px; margin-bottom: 1em; margin-left: 1.5em; color: #000000; font-family: 'Lucida Grande', Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff; padding: 0px;"> <li style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; line-height: 1.5em;"> コンテンツのライフサイクルとその管理方法</li> </ul>
36 <p>シスコ社のネットワーク機器を扱うエンジニアのスキルを認定する資格試験 "CCNA&reg;"(Cisco Certified Network Associate&reg;) 向けの公式補助テキストです。<br /> 本書ではルーターのアーキテクチャおよびコンポートネントの説明に加え、ルーティングの基礎やプロトコルの概要についても解説しています。<br /> 持ち運びやすいサイズでどこでも開ける、CCNA&reg;合格のための必携の書です。</p>
44 <p>ニューヨーク州の11年生が受験するアメリカの歴史試験に対応した参考書。</p>
45 <p> <strong>心理学におけるリサーチ作業についてわかりやすく解説した学生向け書籍</strong> </p> <p> 心理学におけるリサーチ作業を効率的に遂行するために必要なステップを実例を挙げて丁寧に説明した学部生必携の書。 </p>
46 <p> SAT&reg;攻略のための近道!SAT&reg;運営組織が作成した模擬テストが10回分が収録されています。<br /> 1000ページ超、20章にわたるボリュームでSAT&reg;の最新の傾向と対策を効率的に学習できます。</p> <p> <ul style="margin-top: 0px; margin-bottom: 10px; margin-left: 16px; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-align: left; background-color: #ffffff; padding: 0px;"> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;"> SAT模擬テスト10回分(直近の実際のテスト3回分を含む)</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;"> 数学とクリティカル・リーディング、ライティングの徹底解説</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;"> SATの設問タイプに応じた練習問題</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;"> エッセイ対策(サンプルつき)</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;"> SAT&reg;で問われる数学力とは</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;"> 高得点獲得のための試験心得</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;"> 無料オンラインスコアレポート</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;"> 設問への解答および解説を確認できる collegeboard.org へのアクセス権</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;"> <em>The Official SAT Online Course</em> 購入に使える10ドル割引券つき</li> </ul> <p> &nbsp;</p>