select 
  count(*) cnt 
from 
  ushop_product_user_reports 
where 
  user_id = 0 
  and resolved = 'N'

Query time 0.00026

Result

cnt
0