SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd23db4e3c4c1693f231ea8c09cce2f6a8e09faa697199388df690590bf7ee007' 
  AND token = 'Rv13iG635/PYGkh5lrm6nfUanUjotqPRSfYg4X69hYE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}