SELECT 
  company_id, 
  nt_commission_include_price 
FROM 
  cscart_companies 
WHERE 
  company_id IN('945', '949', '942', '779', '965')

Query time 0.00031

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.00948507,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_companies",
          "access_type": "range",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "4",
          "used_key_parts": ["company_id"],
          "loops": 1,
          "rows": 5,
          "cost": 0.00948507,
          "filtered": 100,
          "attached_condition": "cscart_companies.company_id in ('945','949','942','779','965')"
        }
      }
    ]
  }
}

Result

company_id nt_commission_include_price
779 Y
942 N
945 N
949 N
965 N