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 = 'ar' 
WHERE 
  a.product_id IN (
    312881, 312873, 312841, 312842, 312847, 
    312848, 312840, 312846, 312838, 312839, 
    312854, 312876, 312843, 312845, 312837, 
    312855, 312834, 312864, 312852, 312853, 
    312851, 312866, 312844, 312867, 312862, 
    312833, 312835, 312856, 312857, 312859, 
    312860, 312861, 312872, 312869, 312858, 
    312863, 312879, 312875, 312878, 312836, 
    312880, 312865, 312874, 312868, 312849, 
    312850, 312877
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position

Query time 0.00028

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.033711852,
    "nested_loop": [
      {
        "read_sorted_file": {
          "filesort": {
            "sort_key": "a.position",
            "table": {
              "table_name": "a",
              "access_type": "ALL",
              "possible_keys": ["c_status"],
              "loops": 1,
              "rows": 13,
              "cost": 0.0129738,
              "filtered": 100,
              "attached_condition": "a.product_id in (312881,312873,312841,312842,312847,312848,312840,312846,312838,312839,312854,312876,312843,312845,312837,312855,312834,312864,312852,312853,312851,312866,312844,312867,312862,312833,312835,312856,312857,312859,312860,312861,312872,312869,312858,312863,312879,312875,312878,312836,312880,312865,312874,312868,312849,312850,312877) 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": ["u985510652_ecartify.a.option_id", "const"],
          "loops": 13,
          "rows": 1,
          "cost": 0.01244692,
          "filtered": 100,
          "attached_condition": "trigcond(b.lang_code = 'ar')"
        }
      }
    ]
  }
}