SELECT 
  option_type as type, 
  option_id 
FROM 
  product_options 
WHERE 
  option_id IN (31300, 14620, 14621)

Query time 0.00053

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.85"
    },
    "table": {
      "table_name": "product_options",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "option_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 3,
      "rows_produced_per_join": 3,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "1.55",
        "eval_cost": "0.30",
        "prefix_cost": "1.85",
        "data_read_per_join": "9K"
      },
      "used_columns": [
        "option_id",
        "option_type"
      ],
      "attached_condition": "(`goimagine`.`product_options`.`option_id` in (31300,14620,14621))"
    }
  }
}

Result

type option_id
S 14620
S 14621
S 31300