SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = '7BZI-L67X-7VIO-XRY4-74RR-G8W4-OSDO-6Y0W' 
  AND product_id = 12 
  AND expires_at > 1777640766 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00032

JSON explain

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