SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = 'HIJG-LS5Q-RNH6-1YLF-0VJ6-98OK-LF0W-93HO' 
  AND product_id = 51 
  AND expires_at > 1777206199 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00030

JSON explain

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