SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c16529f84154ee0c4a896b101660e8fa0d2b3018e6bb75defd0cc29c2f76d5bf' 
  AND token = 'dgPtXmIHMD0kb4V/ZIU6rTyPj/zmdepWqas4ZQo6KN4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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