SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = '1URC-AU8T-TJ53-VHVE-FE5F-PO23-1UGL-0TPK' 
  AND product_id = 278 
  AND expires_at > 1770174733 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00039

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}