SELECT 
  1 
FROM 
  cscart_june_setupec_print_temp_designs 
WHERE 
  session_id = 'DZJR-F2Z3-TOZG-7RTC-XO52-G90S-ERVH-LZUV' 
  AND product_id = 242 
  AND expires_at > 1781832816 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00027

JSON explain

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