DELETE FROM 
  cscart_access_restriction 
WHERE 
  (
    type = 'ipb' 
    OR type = 'aab'
  ) 
  AND expires < 1730643197

Query time 0.00037