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 (
    389621, 389620, 389623, 389624, 389622, 
    389626, 389627, 389625, 282478, 282479, 
    391683, 308674, 308677, 392154, 308679, 
    392152, 392156, 308675, 392155, 308680, 
    308678, 392157, 308673, 392158, 308676, 
    392153
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00240

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "36.45"
    },
    "table": {
      "table_name": "cscart_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": 26,
      "rows_produced_per_join": 26,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "31.25",
        "eval_cost": "5.20",
        "prefix_cost": "36.45",
        "data_read_per_join": "177K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ],
      "attached_condition": "((`webmarco`.`cscart_product_descriptions`.`product_id` in (389621,389620,389623,389624,389622,389626,389627,389625,282478,282479,391683,308674,308677,392154,308679,392152,392156,308675,392155,308680,308678,392157,308673,392158,308676,392153)) and (`webmarco`.`cscart_product_descriptions`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id short_description full_description
282478 <p> </p> <p> <span class = "fontstyle0"> <strong> SAT KONSTRUKSION </strong> has formed a professional working group of <br /> experienced electricians and installers who are <br /> trained in assembling structures metal and installation of photovoltaic panels. </span> </p> <p> </p>
282479 <p> An important part of the project is the system configuration </p> <p> <span class = "fontstyle0"> according to the appropriate parameters. The engineers of <strong> SAT CONSTRUCTION </strong> are <br /> certified for this service by the largest companies of </span> <br /> <span class = "fontstyle0"> inverter production. </span > </p> <p> </p>
308673
308674
308675
308676
308677
308678
308679
308680
389620 <p>Metal Nesimi company is a company with 12 years of experience in the field of metal constructions. This experience was gained by working in Europe, mainly in Greece, where he participated in the construction of the Athens 2004 Olympic stadiums.</p> <p>We are committed to meeting the highest ethical and professional standards, in harmony with the principles of social, economic and environmental sustainability.</p>
389621 <p></p> <p>Kompania Metal Nesimi është një kompani me 12 vite eksperiencë në fushën e konstruksioneve metalike. Kjo eksperiencë është fituar duke punuar në Europë, kryesisht në Greqi ku është marrë pjesë në ndërtimet e stadiumeve olimpike Athina 2004.</p> <p>Ne jemi të përkushtuar për të përmbushur standardet më të larta etike dhe profesionale, në harmoni me parimet e qëdrueshmërisë sociale, ekonomike dhe mjedisore. </p>
389622 <p>Metal Nesimi company is a company with 12 years of experience in the field of metal constructions. This experience was gained by working in Europe, mainly in Greece, where he participated in the construction of the Athens 2004 Olympic stadiums.</p> <p>We are committed to meeting the highest ethical and professional standards, in harmony with the principles of social, economic and environmental sustainability.</p>
389623 <p>Metal Nesimi company is a company with 12 years of experience in the field of metal constructions. This experience was gained by working in Europe, mainly in Greece, where he participated in the construction of the Athens 2004 Olympic stadiums.</p> <p>We are committed to meeting the highest ethical and professional standards, in harmony with the principles of social, economic and environmental sustainability.</p>
389624 <p>Metal Nesimi company is a company with 12 years of experience in the field of metal constructions. This experience was gained by working in Europe, mainly in Greece, where he participated in the construction of the Athens 2004 Olympic stadiums.</p> <p>We are committed to meeting the highest ethical and professional standards, in harmony with the principles of social, economic and environmental sustainability.</p>
389625 <p></p> <p>Metal Nesimi company is a company with 12 years of experience in the field of metal constructions. This experience was gained by working in Europe, mainly in Greece, where he participated in the construction of the Athens 2004 Olympic stadiums.</p> <p>We are committed to meeting the highest ethical and professional standards, in harmony with the principles of social, economic and environmental sustainability.</p> <p></p>
389626 <p>Metal Nesimi company is a company with 12 years of experience in the field of metal constructions. This experience was gained by working in Europe, mainly in Greece, where he participated in the construction of the Athens 2004 Olympic stadiums.</p> <p>We are committed to meeting the highest ethical and professional standards, in harmony with the principles of social, economic and environmental sustainability.</p>
389627 <p>Metal Nesimi company is a company with 12 years of experience in the field of metal constructions. This experience was gained by working in Europe, mainly in Greece, where he participated in the construction of the Athens 2004 Olympic stadiums.</p> <p>We are committed to meeting the highest ethical and professional standards, in harmony with the principles of social, economic and environmental sustainability.</p>
391683 <p>Funeral Agency Genti Fier has been operating professionally for several years in the city of Fier and in every corner of Albania and Italy. Thanks to an experience and a tradition rooted in time, the company represents a guarantee in funeral services, offering accurate and measured in all circumstances. With courtesy and availability we help our clients in a painful moment such as bereavement, providing support and support in the moment that naturally follows the serious loss of a loved one. You can rely on us for the various funeral services, we will assist you with the usual professionalism and discretion, and we will do our best to relieve you of any further worries at what is already a difficult time. For more information or in case of mourning, you can contact us at any time: our staff will be at your disposal providing all the necessary support.</p>
392152 <p>Import-Export, collection, processing and trade of scrap, iron, etc., trade of industrial goods</p>
392153 <p>Fitness bar restaurant, tavern, night club, sea transport, real estate agency</p>
392154 <p>Prefabricated concrete products. Production and trading of inerts and other building materials and products. Selective fishing. Study, design, assessment, consultancy, monitoring, research, discovery, exploitation, processing and trade in import export of metal and construction minerals, rehabilitation of the environment after use, civil use of explosives on the surface and underground.</p>
392155 <p>Production and trading of construction materials such as bricks, decorative tiles, loose concrete products with concentrated joints, handicraft products, constructions of various types, etc.</p>
392156 <p>Category V and VI road constructions, road surface with asphalt concrete, surface construction, construction of various works of art, water supply and sewerage and others.</p>
392157 <p>Construction of public works, civil, economic and industrial constructions, reconstruction of buildings, cladding of facades, works<br />soil, systems, land terracing, drainage and irrigation works.</p>
392158 <p>Wholesale and retail trade in the import and export of various industrial, food, hydrosanitary, hydraulic goods, industrial and agricultural machinery and equipment, medicinal and medical plants, production and processing of timber, transport of goods inside and outside the country in all transport routes, land, sea, rail, air etc</p>