SELECT 
  a.*, 
  b.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 = 'ro' 
WHERE 
  a.product_id IN (
    1231444, 2382470, 1232132, 1231619, 
    1231934, 1232067, 1129861, 1232342, 
    1232255, 1232131, 1231263, 1129864, 
    1231062, 1231061, 1231700, 2382443, 
    1231550, 2310531, 1231689, 1231916, 
    1231554, 1232118, 1232182, 2615750, 
    1141555, 1232128, 2538988, 2382442, 
    1231692, 1232127, 1231275, 2462833, 
    1198910, 1231186, 1231272, 1162591
  ) 
  AND status = 'A' 
ORDER BY 
  a.position

Query time 0.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "10.66"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "7.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "a",
            "access_type": "ALL",
            "possible_keys": [
              "c_status"
            ],
            "rows_examined_per_scan": 7,
            "rows_produced_per_join": 7,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.52",
              "eval_cost": "0.70",
              "prefix_cost": "1.22",
              "data_read_per_join": "16K"
            },
            "used_columns": [
              "option_id",
              "product_id",
              "company_id",
              "option_type",
              "inventory",
              "regexp",
              "required",
              "multiupload",
              "allowed_extensions",
              "max_file_size",
              "missing_variants_handling",
              "status",
              "position",
              "value"
            ],
            "attached_condition": "((`maniamall_cscart`.`a`.`product_id` in (1231444,2382470,1232132,1231619,1231934,1232067,1129861,1232342,1232255,1232131,1231263,1129864,1231062,1231061,1231700,2382443,1231550,2310531,1231689,1231916,1231554,1232118,1232182,2615750,1141555,1232128,2538988,2382442,1231692,1232127,1231275,2462833,1198910,1231186,1231272,1162591)) and (`maniamall_cscart`.`a`.`status` = 'A'))"
          }
        },
        {
          "table": {
            "table_name": "b",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "option_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "maniamall_cscart.a.option_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 7,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.75",
              "eval_cost": "0.70",
              "prefix_cost": "3.67",
              "data_read_per_join": "22K"
            },
            "used_columns": [
              "option_id",
              "lang_code",
              "option_name",
              "option_text",
              "description",
              "comment",
              "inner_hint",
              "incorrect_message"
            ]
          }
        }
      ]
    }
  }
}