SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = 'GOKL-ZZSG-KH6Q-AIPX-6A5W-N5O1-KY0M-X199' 
  AND product_id = 10 
  AND expires_at > 1777118460 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00038

JSON explain

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