SELECT 
  * 
FROM 
  cscart_seo_names 
WHERE 
  name = 'roof-window-fakro-ftt-u8-thermo-passive-glazing' 
  AND (
    cscart_seo_names.company_id = 2 
    OR cscart_seo_names.company_id = 0
  )

Query time 0.00030

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE cscart_seo_names ref name,type name 752 const 1 Using index condition; Using where

Result

name object_id company_id type dispatch lang_code path
roof-window-fakro-ftt-u8-thermo-passive-glazing 396 2 p en 261/954