SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = 'URER-0ZAP-7C80-6FDM-AU3F-U8GL-ILL8-OVCL' 
  AND product_id = 31 
  AND expires_at > 1777988472 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00028

JSON explain

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