SELECT 
  option_type as type, 
  option_id 
FROM 
  cscart_product_options 
WHERE 
  option_id IN (
    4, 5, 6, 7, 20, 21, 22, 23, 41, 42, 43, 44, 
    45
  )

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.0193308,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_options",
          "access_type": "ALL",
          "possible_keys": ["PRIMARY"],
          "loops": 1,
          "rows": 52,
          "cost": 0.0193308,
          "filtered": 25,
          "attached_condition": "cscart_product_options.option_id in (4,5,6,7,20,21,22,23,41,42,43,44,45)"
        }
      }
    ]
  }
}

Result

type option_id
S 4
S 5
S 6
S 7
S 20
S 21
S 22
S 23
S 41
S 42
S 43
S 44
S 45