SELECT 
  a.*, 
  b.option_name, 
  b.internal_option_name, 
  b.option_text, 
  b.description, 
  b.inner_hint, 
  b.incorrect_message, 
  b.comment 
FROM 
  cscart_product_options as a 
  LEFT JOIN cscart_product_options_descriptions as b ON a.option_id = b.option_id 
  AND b.lang_code = 'vi' 
WHERE 
  a.product_id IN (
    40928, 49309, 5828, 31866, 44924, 4357, 
    26873, 48150, 48322, 4467, 47088, 45256, 
    44881, 37416, 5483, 47566, 45255, 38626, 
    37313, 48610, 32315, 37417, 47260, 
    28439, 32314, 44514, 37414, 46153, 
    44513, 43647, 46590, 46154
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position

Query time 0.00169

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "read_sorted_file": {
          "filesort": {
            "sort_key": "a.position",
            "table": {
              "table_name": "a",
              "access_type": "range",
              "possible_keys": ["c_status"],
              "key": "c_status",
              "key_length": "6",
              "used_key_parts": ["product_id", "status"],
              "rows": 32,
              "filtered": 100,
              "index_condition": "a.product_id in (40928,49309,5828,31866,44924,4357,26873,48150,48322,4467,47088,45256,44881,37416,5483,47566,45255,38626,37313,48610,32315,37417,47260,28439,32314,44514,37414,46153,44513,43647,46590,46154) and a.`status` = 'A'"
            }
          }
        }
      },
      {
        "table": {
          "table_name": "b",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["option_id", "lang_code"],
          "ref": ["dev_db.a.option_id", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(b.lang_code = 'vi')"
        }
      }
    ]
  }
}