SELECT 
  company_id, 
  nt_commission_include_price 
FROM 
  cscart_companies 
WHERE 
  company_id IN('942', '943', '779')

Query time 0.00015

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.00600749,
    "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": 3,
          "cost": 0.00600749,
          "filtered": 100,
          "attached_condition": "cscart_companies.company_id in ('942','943','779')"
        }
      }
    ]
  }
}

Result

company_id nt_commission_include_price
779 Y
942 N
943 N