SELECT 
  option_id, 
  option_type 
FROM 
  cscart_product_options 
WHERE 
  option_id IN (4, 5, 6, 7, 8, 20, 21, 22, 23)

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.01644023,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_options",
          "access_type": "range",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["option_id"],
          "loops": 1,
          "rows": 9,
          "cost": 0.01644023,
          "filtered": 100,
          "attached_condition": "cscart_product_options.option_id in (4,5,6,7,8,20,21,22,23)"
        }
      }
    ]
  }
}

Result

option_id option_type
4 S
5 S
6 S
7 S
8 S
20 S
21 S
22 S
23 S