SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23660cc4fae67911203a6481478200feab7fad284fcc874f6278c3320e3e1649' 
  AND token = 'HuEHGHdLHrjBk7LVNxJ+CstG3XTrtp3e4ihaoo/3Zpc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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