SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f7adbf22d180299fee50caddc74a89909996328afd89877c81d99b2d4828d765' 
  AND token = 'VoYdedJ/qk/54YLmVXUQtx/qhJ7h6Lb5McfBeiUbWBU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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