SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = '83I3-NGBT-UMQR-2I3S-ZMP8-IQ7U-ZBM2-SECB' 
  AND product_id = 227 
  AND expires_at > 1777140720 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00025

JSON explain

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